Re: out of memory (wo 5.3)
Re: out of memory (wo 5.3)
- Subject: Re: out of memory (wo 5.3)
- From: Chuck Hill <email@hidden>
- Date: Wed, 30 Aug 2006 10:02:04 -0700
On Aug 30, 2006, at 9:53 AM, Marc Respass wrote:
Hi All,
I'm getting out of memory exceptions in my app. I do need to go
through it and see if there is anything I can do to manage memory
better, but until then, I tried increasing the memory of the JVM. I
did it by adding
-Xmx256M
Lower case em: -Xmx256m
-Xms128m to the Additional Arguments section of the apps
configuration in Monitor. When I check the running processes using
ps axwww | grep Xmx
I see my app but it has two occurrences as you can see below.
java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory=/System -
DWOLocalRootDirectory= -DWOUserDirectory=/System/Library/WebObjects/
JavaApplications/wotaskd.woa -DWOEnvClassPath= -
DWOApplicationClass=gov.maine.oit.BailMonitor.Application -
DWOPlatform=MacOS -Dcom.webobjects.pid=9181 -
DNSDebugLevel=NSLog.DebugLevelCritical -Xmx256M -Xms128m
I'm questioning which of those is taken. I would think that the
arguments are checked as they are encountered and that the last one
is the one used but I don't know any way to be sure.
Can anyone confirm that the Additional Arguments section in Monitor
is the right place to put that and that it is the last argument
that takes effect?
All I can tell you is that is what we do and it works for us.
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
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