i am using eclipse3.5(Galileo) and jdk1.6.20.
i downloaded "eclipse3.5 for java EE developer". after that i installed spring IDE plugins through "help->install new software".
after restarting eclipse, when i am doing development, it is giving me "permgen outofmemory" exception.
this happening after every 10-15 mins once i started eclipse.
i tried following steps but none of them is working:-
256m" with "-XX:MaxPermSize=256m" after "-vmargs" in eclipse.ini file.
256m" with "--launcher.XXMaxPermSize
I haven't seen this, but I also stopped using JDK 1.6u20 due to a couple of other issues; have you tried with a different version to see if that makes a difference?
I'd also try with a clean workspace to see if the issue is workspace-related (although I haven't had a workspace issue for a couple of versions now). Or just consider using 3.6.
Joined: Jul 14, 2010
with other jdk and eclipse version i done following steps
1)before jdk1.6.20, i was using jdk1.6.21 with eclipse3.6 java EE developers version.
but i faced same problem.
2)when i googled for this, then i got one help from eclipse forum that you have to use jdk1.6.20 with eclipse3.6.
so i uninstalled jdk1.6.21 and installed jdk1.6.20, then also problem was not resolved.
3)then i thought that problem might be with eclipse3.6
so, i ported "eclipse3.5 java EE developers" version and install plugins for spring ide.
during installation i selected "spring ide(required)" only. because i required only that part(which allows you to create java spring project and add spring beans)
but no solution. for eclipse 3.5 also it was giving me same permgen outofmemory exception.
From the description in your original post it is difficult to tell exactly what is in your eclipse.ini file. The format of this file is very picky - each argument must be on a separate line. Please post the eclipse.ini contents (and remember to use the code tags). Also, I suggest trying a permsize of 512M.