Hi, I am on a 32 bit Windows Server 2003 machine with 4 GB of RAM. I get "error occurred during initialization of VM
Could not reserve enough space for object heap" message everytime i try to allocate more than 1280 MB (i need to allocate 1536 MB) of heap space. Tomcat 5.5 is running as a windows service on this machine.
Can anyone suggest anything on this?
Thanks.
Even with 4Gb of physical memory, windows can only address (again I think) 3Gb ish.
It then allocates another chunk for itself, leaving the rest to applications (which in your case is Java).
If this is really a concern, do some google searching and present to your IT group an upgrade.
Thanks for the reply but the thing is we are running with 1536MB of heap memory on another identical machine. Only in this machine, we are having this issue. Is virtual memory fragmentation in play here?
Any idea about defragmenting virtual memory?