Re: Java out of memory

Denis Stanton <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
On 26/03/2006, at 12:01 AM, Ed Herd wrote:

> Irina and others.  You all have been so responsive...THANKS!!!  
> Please don't give up on me yet.  I am not deploying this on the  
> server.  I am running my development system.  I didn't know that  
> deployment procedures were used from project builder.  Am I wrong?

For the development system you should be putting the  memory  
parameters into the executable arguments panel.

In Xcode, near the bottom of the Groups and File's panel on the left  
look for Executables. ( If you are in Xcode's single page view you  
need to select Project, not Build or Debug, in the little three-way  
selector at top left)
Click the triangle next to Executables
Now click to select your application.  Then click info in the tool  
bar at the top.
Click the Arguments tab.
Click the + under the arguments list.

Now enter your memory settings like this (you can choose the numbers  
from advice given before):
-Xms256Mb  -Xmx512Mb

While you are there you can set a couple of other parameters that can  
make life easier

-WOPort 50000
Will make the dev application always start on the same port so you  
can have a bookmark

-WOHost localhost
Will start faster because it won't waste time trying to find itself  
through Rendezvous (I think that's what it's doing)


Denis
> Ed
> _______________________________________________
> WebObjects-dev mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.