facebook

myeclipse and problem with memory

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #268432 Reply

    dr_pompeii
    Member

    hi guys

    i have a P4 3.2ghz , 1gb ram , and i work in fedora core 5
    eclipse 3.2 myeclipse5.0

    well when i use myeclipse , after when i work aprox , 15-30 minutes,i recieve this pretty message ,

    title: Available Memory Is Low
    content:
    MyEclipse has detected that less than 5% of 64MB of Perm GEN (Non-heap memory) space remains

    It is strongly recommended that you exit and restart Myeclipse with new virtual machine
    memory parameters to increse this memory. Failure to do so can result in data loss

    The recommended Eclipse memory parameters are:
    eclipse.exe -vmargs -Xms128MB -Xms512M –
    XX:PermSize=64M -XX:maxPermSize=128M

    then, in any moment (5-10 minutes after of the message) eclipse3.2 doesnt response, all IDE death!!!!

    and i must open again eclipse

    pl,s, help how i can resolve this

    thanks for advanced

    #268442

    Scott Anderson
    Participant

    You need to update the alias you use to launch MyEclipse as the dialog states and as is described in the FAQ here: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-14136-highlight-memory.html

    #268446

    dr_pompeii
    Member

    hi

    thanks for the link

    but i must use and work with jdk5 update 09
    and the link says jdk 6 or series j2sdk 1.4.12

    so, what should do i?

    /usr/lib/jvm/jdk1.6.0/bin/java <—- is the default jvm or java distribution by linux right?

    i am not use that , i have installed the 5_09 in other place, i guess that this irrelevant right?

    thanks for advanced

    #270099

    Riyad Kalla
    Member

    Sorry for the delay in responding. You can use 1.5.0_09 to launch MyEclipse by specifying the -vm argument, so it will look like (for example):

    eclipse -vm /usr/local/jdk1.5.0_09/bin/java

    Also don’t forget to adjust your memory settings to the suggested ones:
    https://www.genuitec.com/forums/topic/troubleshoot-getting-outofmemoryexceptions-2/

    #270607

    dr_pompeii
    Member

    hello rkalla

    it works, the error message never appear again

    i work with this sentence

    ./eclipse -vm /somepath/java/jdk1.5.0_09/bin/java -vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M

    i have 2 consults , after of a time, i can see that myeclipse related with js editor is turned slow , it depends of the values of ram???

    other behaviour that i always have with the series 5.x , is when i use the editor for jsp files, each time that edit and try to save the jsp file, i recieve an error message
    about null reference

    Title:error
    message: Save Failed : null

    how i can fix this?

    thanks for advanced

    #270622

    Riyad Kalla
    Member

    i have 2 consults , after of a time, i can see that myeclipse related with js editor is turned slow , it depends of the values of ram???

    Yes, ram can effect it.

    other behaviour that i always have with the series 5.x , is when i use the editor for jsp files, each time that edit and try to save the jsp file, i recieve an error message
    about null reference

    That was a bug that was fixed in 5.1.0, and should not be happening in 5.5.1, our newest release.

    #270695

    dr_pompeii
    Member

    hi rkalla

    thanks again for the reply

    Yes, ram can effect it.

    for a 1gb of ram in my pc,
    in this sentence that i copied from your link
    -vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M
    what new values can you suggest for my??

    That was a bug that was fixed in 5.1.0, and should not be happening in 5.5.1, our newest release.

    ok, i work with 5.0 , i will try with 5.1.1 , 5.5.1??? wooh very new

    can you share a link to make an update from myeclipse versions???

    thanks for advanced

    #270697

    Riyad Kalla
    Member

    Sorry, but there is no direct upgrade path between 5.0 and 5.5 because of the big version jump and new required Eclipse platform.

    The fastest way to get up and running with the new release is to go to our download section and download the latest All in One installer, then run it and be *sure* to install it to a new directory. Then run the new installation and open your existing workspac,e you should be able to continue working where you left off.

    #270709

    dr_pompeii
    Member

    hello

    thanks for the reply

    i did the last update i think , to myeclipse 5.1.1

    again

    for a 1gb of ram in my pc,
    in this sentence that i copied from your link
    -vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M
    what new values can you suggest for my??

    thaks for your time

    #270719

    Riyad Kalla
    Member

    Those default memory settings are very generous as it is, honestly I think an upgrade would do more for you than increasing those. Also note, since your machine only has 1GB of ram, increasing those memory arguments any more is going to *force* your machine to start swapping to disk which is going to bring your whole machine to a crawl, which is why I don’t wantt o suggest increased settings to you.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: myeclipse and problem with memory

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