Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Windows10 and Xmx Could not reserve enough space.

fd40c241-5f8d-4c68-870d-4cb1dcba2aa9Jul 31 2015 — edited Jul 31 2015

Hi!

Trying to run a minecraft server with Java -Xmx2048m -java minecraftserver.jar   fails on windows 10 with :

Error occurred during initialization of VM

Could not reserve enough space for 2097152KB object heap

I have over 4 gigs of ram free.

Does anyone have a solution to this?

I am the second person I know who has this issue.


Thank you very much!

cindy_k


java version "1.8.0_51"

Java(TM) SE Runtime Environment (build 1.8.0_51-b16)

Java HotSpot(TM) Client VM (build 25.51-b03, mixed mode, sharing)

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 28 2015
Added on Jul 31 2015
0 comments
1,034 views