- This topic has 9 replies, 3 voices, and was last updated 18 years, 2 months ago by
Riyad Kalla.
-
AuthorPosts
-
dr_pompeiiMemberhi guys
i have a P4 3.2ghz , 1gb ram , and i work in fedora core 5
eclipse 3.2 myeclipse5.0well 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 remainsIt 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 lossThe recommended Eclipse memory parameters are:
eclipse.exe -vmargs -Xms128MB -Xms512M –
XX:PermSize=64M -XX:maxPermSize=128Mthen, 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
April 4, 2007 at 11:44 pm #268442
Scott AndersonParticipantYou 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
April 5, 2007 at 5:21 am #268446
dr_pompeiiMemberhi
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.12so, 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
May 15, 2007 at 11:07 am #270099
Riyad KallaMemberSorry 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/May 24, 2007 at 7:42 am #270607
dr_pompeiiMemberhello 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 referenceTitle:error
message: Save Failed : nullhow i can fix this?
thanks for advanced
May 24, 2007 at 11:17 am #270622
Riyad KallaMemberi 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 referenceThat was a bug that was fixed in 5.1.0, and should not be happening in 5.5.1, our newest release.
May 25, 2007 at 2:24 pm #270695
dr_pompeiiMemberhi 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
May 25, 2007 at 2:51 pm #270697
Riyad KallaMemberSorry, 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.
May 26, 2007 at 8:54 pm #270709
dr_pompeiiMemberhello
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
May 27, 2007 at 11:03 am #270719
Riyad KallaMemberThose 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.
-
AuthorPosts