Solution of Eclipse Hanging

Monday, 28 May 2012

Eclipse hang while startup, my eclipse is very slow, how to avoid eclipse hanging, eclipse always slow


developers always worried for hanging of eclipse and wasting the time to search how to avoid the eclipse hanging.basically eclipse hang in different reasons so here i give some solutions for reduce eclipse hanging upto my knowledge.

what to do if the eclipse hang while start up
for this u need to delete the .snap file located in ur workspace folder
workspace->.metadata->org.eclipse.core.resources->.snap or inside the project folder .snap file u have to delete

what to do if the eclipse hang frequently
this is because of memory issue so u need to allocate more memory for eclipse.
open eclipse.ini file in eclipse folder
u see the memory allocation of eclipse there like follows
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms128m
-Xmx512m
here u need to increase the memory size based on ur RAM memory example if its 4GB then allocate like follows
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=512m
-Xms256m
-Xmx1024m


still its slow then do some more steps for speed up eclipse
open the preference in eclipse and give the vm arguments value
window-->preference -->java-->install jre
select the installed jre and click edit then in tha Default Vm Arguments field you need to give like follow
-Xmx1024M
again,
open eclipse.ini file and place the following line to speed up eclipse
-Xverify:none

one more,
just remove unwanted validations for eclipse
window-->preference --> validation and unmark unwanted validations

hope this is help for you and write comments for more updates.

0 comments:

Post a Comment