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