Thanks for all the replies, but I think the problem was really only that
I didn't set the memory size correctly for Tomcat Service in WinXP (with
environment var CATALINA_OPTS instead of registry values) and the export
really needed more than the default 64M memory (or that what was
remaining of th
> From: David Delbecq [mailto:[EMAIL PROTECTED]
> Subject: Re: Increasing Tomcat/Java memory
> 4) More funny, a java.lang.OutOfMemoryError can also occur
> when you run out of process threads
An OOME is really a catch-all for exhaustion of any system resource.
One other common caus
Thanks a lot for your reply.
I set the values directly in my registry, restarted Tomcat and voilá:
runtime.totalMemory now gives the increased -Xms value after startup.
With kind regards,
Harald Henkel
Jost Richstein schrieb:
These settings are stored in the r egistry if you are running Tomcat
Harald Henkel a écrit :
> Hello everybody.
>
> How can I increase the memory Tomcat/Java is using?
>
> I tried setting CATALINA_OPTS with -server -Xms256m -Xmx512m
> but runtime.totalMemory always seems to return a value around 60MB.
>
that mean the java machine did not require more. the 512M is r
These settings are stored in the r egistry if you are running Tomcat
as windows service. Usually you have a small applet installed that
allows you to edit the setttings. If do not see the applet, try to
execute
\bin\tomcat5w.exe" //ES//TomcatServiceName
where "TomcatServiceName" is your Win