Where does $JAVA_OPTS come from? It doesn't exist on my mac or my linux machine.
Have I not set tomcat up correctly?

Thanks,

Lou

On Oct 21, 2007, at 10:39 AM, Henry Minsky wrote:

You should start tomcat with at least 512MB of RAM.

I have this set in my environment
$ echo $JAVA_OPTS
-Xmx500m


And the tomcat startup script uses that to up the max RAM to 512MB. If you have 2GB, you could set it higher even.


On 10/21/07, Lou Iorio <[EMAIL PROTECTED]> wrote:
I get frequent "out of memory" errors when trying to compile examples
from the dguide.

I'm running a MacBook Pro with 2 G of RAM.

Is there a way to increase the memory available to Tomcat? Or is
there another solution?

Thanks,

Lou




--
Henry Minsky
Software Architect
[EMAIL PROTECTED]


Reply via email to