regarding heap memory

8 views
Skip to first unread message

Sachin Watane

unread,
Aug 27, 2015, 10:43:10 AM8/27/15
to VGLUG
Hello all,

i am getting error when starting the jboss

Invalid maximum heap size: -Xmx4096M
The specified size exceeds the maximum representable size.
Could not create the Java virtual machine.

i have jvm 64 bit

The same issue is getting. Can anyone please tell how to resolve this issue.

Regards
Sachin

Bhushan

unread,
Aug 28, 2015, 4:49:15 AM8/28/15
to VGLUG
Hi Sachin,

Use of -d64 option may solve this problem. Because as per documentation by default it will try to launch 32 bit JVM by default as shown below.

-d64

Run the application in a 64-bit environment. If a 64-bit environment is not installed or is not supported, an error will be reported. By default, the application is run in a 32-bit environment unless a 64-bit only system is used.

Currently only the Java HotSpot Server VM supports 64-bit operation, and the -server option is implicit with the use of -d64. The -client option is ignored with the use of -d64. This is subject to change in a future release.


Regards,

Bhushan Karia

Reply all
Reply to author
Forward
0 new messages