My Tomcat is running on 32-bit Red Hat 4 (2.6.9-78.0.1.ELsmp), host server has 
8G physical memory and 4 processors.
 java version "1.4.2"  gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-10)
I got java.lang.OutOfMemoryError
Current configuration: -Xms1024M -Xmx2304M
The host server has about 4.5G free memory. When I tried to increase -Xmx2304M 
to -Xmx3000M, I got this error:
Error occurred during initialization of VM, Could not reserve enough space for 
object heap
The maximum # I can reach is -Xmx2680M.
QUESTION: Is there an upper limit for -Xmx? What is the work around? How can I 
use my free memory on the server to
get rid of the OutOfMemoryError?

Thanks,
Henry


Reply via email to