Re: Debugging Memory?
Re: Debugging Memory?
- Subject: Re: Debugging Memory?
- From: Joe Little <email@hidden>
- Date: Mon, 18 Jul 2005 11:29:41 -0700
I went to the expert view in the development:target:settings and
specified them there as VM options. It seems to work fine, though on
loading the code during a development run it still uses 32/64m sizes
initially (first thing in the args) and then specifies them again
later in the arguments list. Luckily, it honors the last settings. I
still wonder how to alter the initial values.
On 7/18/05, Joe Little <email@hidden> wrote:
> To affect similar changes in Xcode for development testing would one
> do this as a Java Property (Additional Property), and if so, what
> would the xcode syntax be. It doesn't seem to work with Additional VM
> Options as is ("-Xms256m -Xmx320m")
>
>
> On 7/17/05, Tanmoy Roy <email@hidden> wrote:
> > Hi James,
> > We also faced the same problem. We resolved it by taking the following
> > approaches:
> >
> > 1) We changed the JavaMonitor so that it stops and restarts all the
> > instances of the application every day at a particular time. The
> > instances are programmed to die down gracefully. You can do it in
> > JavaMonitor.
> >
> > 2) We increased the JVM HEAP size to 256 MB in the JavaMonitor and it
> > is working fine now.
> >
> > If you need anything more let me know.
> >
> > Best,
> > Tanmoy.
> >
> >
> > On 7/12/05, James Cicenia <email@hidden> wrote:
> > > Hello -
> > >
> > > Recently,,,, maybe because of new users, etc., I have been getting
> > > debilitating error messages that lock my server...
> > >
> > > Up until now, or my latest push of code I have had very few problems,
> > > now I am having a lot. Anyway here is the error that killed my app:
> > >
> > > [2005-07-12 08:33:14 CDT] <WorkerThread7>
> > > <com.webobjects.appserver._private.WOComponentRequestHandler>:
> > > Exception occurred while handling request:
> > > com.webobjects.foundation.NSForwardException
> > > [java.lang.OutOfMemoryError] null
> > > [2005-07-12 08:33:42 CDT] <WorkerThread5> <WOWorkerThread id=5
> > > socket=null> Throwable occurred: java.lang.OutOfMemoryError
> > > [2005-07-12 08:33:42 CDT] <WorkerThread5> <WOWorkerThread id=5
> > > socket=null> Workerthread exiting due to error, respawning with ID
> > > 10005...
> > > com.webobjects.foundation.NSForwardException for
> > > java.lang.OutOfMemoryError
> > >
> > > How does one debug this kind of problem in WebObjects? Is there a
> > > memory leak in WebObjects? up to now I have only been restarting the
> > > application
> > > weekly, maybe it has to be nightly?
> > >
> > > Any thoughts would be greatly appreciated
> > >
> > > - James Cicenia
> > > _______________________________________________
> > > Do not post admin requests to the list. They will be ignored.
> > > Webobjects-dev mailing list (email@hidden)
> > > Help/Unsubscribe/Update your Subscription:
> > >
> > > This email sent to email@hidden
> > >
> >
> >
> > --
> > Best,
> > Tanmoy
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Webobjects-dev mailing list (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> >
> > This email sent to email@hidden
> >
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden