facebook

java.lang.OutOfMemoryError Java heap space MyEclipse Tomcat

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #336512 Reply

    jehanjaleel
    Member

    Hi,

    I keep getting java.lang.OutOfMemoryError Java heap space in MyEclipse Tomcat. I tried increasing the memory allocated to Tomcat as shown in the attached screen shot. But I am still getting the error. Am I doing something wrong or do I need to add more memory?

    I am using MyEclipse for Spring version 10. Any help would be appreaciated.

    Thanks,
    Jehan

    Attachments:
    You must be logged in to view attached files.
    #336536 Reply

    Jehan,

    Sorry that you are seeing this issue.

    Can you please try these settings by going to Window > Preferences > MyEclipse > Servers > Integrated Sandbox > MyEclipse Tomcat 6 > JDK. In the Optional Java VM Arguments section you can try adding :
    -Xmx512M

    If you are still seeing issues , Can you please open <MyEclipse spring installation directory>/myeclipseforspring.ini in any text editor and change the values based on the size of your workspace.
    -vmargs
    -Xmx512m
    -XX:MaxPermSize=384m

    If you are still seeing the issue, please try increasing the MaxPermSize and check whether that is working.

    Please check this link for more information :
    http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10087.html

    Let us know how it works for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: java.lang.OutOfMemoryError Java heap space MyEclipse Tomcat

You must be logged in to post in the forum log in