Re: Memory settings.
Denis Stanton <[email protected]> Fri, 28 Jan 2005 06:51:32 +1300
| Newsgroups | gmane.comp.web.webobjects.admin |
|---|---|
| Message-ID | <[email protected]> |
Hi Zaphod On 28/01/2005, at 12:33 AM, Zaphod B wrote: > 1. At the moment, for me to change the Xmx and Xms settings, I have to > change that settings in the XCode project settings, and then rebuild > the project. So I have to rebuild everytime I want to adjust the > settings. Is there an easier way of doing this, without having to > rebuild? Yes, there is an easier way for this part. You don't need to rebuild if you set the ram requirements at at runtime. In JavaMonitor /Applications / Config add something like the following to whatever you have in the Additional Arguments box: -Xms64M -Xmx256M Those are the numbers I use for a fairly large app. Your numbers look very large to me. It would be normal to run multiple instances of your application, but if you give each one 3GB then you will not be running very many in a 5GB computer :-). Does each instance really need this much? Denis Stanton [email protected] Home: (09) 533 0391 mobile: 021 1433622