java cannot reserver heap size error on windows server

Posted by Prad on Stack Overflow See other posts from Stack Overflow or by Prad
Published on 2010-03-11T22:38:08Z Indexed on 2010/05/03 8:38 UTC
Read the original article Hit count: 212

Filed under:
|
|

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

© Stack Overflow or respective owner

Related posts about java

Related posts about heap