java cannot reserver heap size error on windows server
- by Prad
HI,
I have the following configuration:
Server : windows 2003 server (32 bit)
java version: 1.5_0_22
I get the following error when executing from command line ( my code is based off eclipse wihch gives the same error)
java -XX:MaxPermSize=256m -Xmx512m
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
The server has over 20GB physical memory with over 19 GB free right now.
It does not give an error upto -Xmx486m
I have read other articles about contiguous memory space. There is hardly anything running on this server. Can I validae this in any way?
Thanks