Today I faced the same problem with same error message but this time it was when I was trying to run Maven for my project to clean and build , eclipse was showing me below message again
Error occurred during initialization of VM Could not reserve enough space for object heap
The reason for this problem was that I am using a 32 bit JDK and in my VM parameters I was initiating the head size like
-Xmx1024m equal to 1GB
when you do that on a 64bit windows platform the windows can't alocate this uch memory and you will see the above error message , so I just reduced the size to less then a GB like below
-Xmx1000m
and now I can run maven.
Error occurred during initialization of VM Could not reserve enough space for object heap
The reason for this problem was that I am using a 32 bit JDK and in my VM parameters I was initiating the head size like
-Xmx1024m equal to 1GB
when you do that on a 64bit windows platform the windows can't alocate this uch memory and you will see the above error message , so I just reduced the size to less then a GB like below
-Xmx1000m
and now I can run maven.
No comments:
Post a Comment