facebook

[Closed]OutOfMemory errors

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #243512 Reply

    I’m getting OutOfMemory errors whilst using Eclipse. My memory VM args are:

    -Xms768m
    -Xmx1280m

    Windows is reporting that Eclipse is using 500MB of memory when this occurs. I do require several large projects to be open at the same time.

    I have 2GB of physical RAM installed.

    Is there anthing I can try to remedy this situation ?

    I am using:

    Windows XP SP2
    Eclipse 3.1.1
    MyEclipse 4.0.3

    regards,

    Francis

    #243514

    Kapil Kapre
    Member

    Francis,
    I’m afraid that is too little information for us to go by, could you give us more details as to when you get the error?
    1) How many MyEclipse Projects were open? and of which type?
    2) Exactly how many files were contained in those projects?
    Also could you post the information we request [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]here[/URL].
    Thank you.

    #243521

    Kapil,

    There are 3 Web projects open.

    Project 1: 8793 files (1388 .java, 1287 .jsp)
    Project 2: 29393 files (4278 .java, 266 .jsp)
    Project 3: 2127 files (127 .java, 3 .jsp)

    What bothers me is the OutOfMemory errors occur at 500MB, which is below the specified -Xms768m.

    They can occur at random times, usually after having the projects open for about 20 mins.

    Am I missing a trick here ?

    regards,

    Francis

    #243526

    Greg
    Member

    Are you setting the vmargs in an eclipse shortcut or in the eclipse.ini? Whichever you are using can you post either the eclipse.ini file or your eclipse shortcut that has the vmargs?

    #243958

    This is my eclipse.ini:

    -vmargs
    -Xms768m
    -Xmx1280m

    #244016

    Greg
    Member

    Try adding the following to your eclipse vmargs as well:

    -XX:PermSize=64M
    -XX:MaxPermSize=128M
    #244341

    Thanks, those mysterious PermSize arguments seem to have done the trick.

    Francis
    http://www.shillitoe.com

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: [Closed]OutOfMemory errors

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