- This topic has 3 replies, 2 voices, and was last updated 9 years, 4 months ago by support-swapna.
-
AuthorPosts
-
bijurkParticipantMyEclipse Enterprise Workbench
Version: 2015 Stable 2.0
Build id: 13.0.0-20150518Here’s the error:
Error occurred during initialization of VM
Could not reserve enough space for object heap1. Use MyEclipse to run an instance of the application on the local Tomcat server using DEBUG mode.
2. Stop that instance.
3. Recompile the application with some change.
4. Publish the changes to the Tomcat installation.
5. Restart the app in DEBUG modeSettings used for running the Tomcat server:
-Xms512m -Xmx1024m -XX:MaxPermSize=256mAny ideas?
Thanks,
Biju
support-swapnaModeratorBiju,
Sorry that you are seeing this issue.
If you are working with a 32 bit JVM, then changing the heap size to smaller would probabaly help. Try with -Xms256m -Xmx512m -XX:MaxPermSize=256m and see how it works.
Please check the suggestions on these threads and see if they help :
http://stackoverflow.com/questions/14023940/tomcat-not-starting-not-able-to-reserve-enough-space-for-object-heap
http://blog.paulgu.com/java/6-common-errors-in-setting-java-heap-size/I suggest you also check on development forums for more information about the memory settings for Tomcat according to the VM.
Let us know how it works for you.
–Swapna
MyEclipse Support
bijurkParticipantSwapna:
I am using 64-bit JVM.
Also, with the lower settings our application does not work.Thanks,
Biju
support-swapnaModeratorBiju,
Can you please give us some more information?
1. Can you please clarify if you have tried increasing the memory settings since you are on 64 bit JVM ? Does that work?
2. I assume you are working with external installation of Tomcat. Can you please start the Tomcat from outside MyEclipse and check if the issue persists ?
3.Do you see the issue only when you restart the app in Debug mode and not at all times ?
4. Let us know how much memory you have.–Swapna
MyEclipse Support -
AuthorPosts