• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

eclipse3.5 giving OutOfMemory/Permgen after installing plugin for Spring IDE

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
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:-
1)replacing "--launcher.XXMaxPermSize
256m" with "-XX:MaxPermSize=256m" after "-vmargs" in eclipse.ini file.
2)replacing "--launcher.XXMaxPermSize
256m" with "--launcher.XXMaxPermSize
512m"

 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Rahul Ramraje
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey David,
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.

 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 449
Scala IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This solution might help.
 
Rahul Ramraje
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
my eclipse.ini file for eclipse3.5 is as follows



for above ini file i checked permsize from 256 to 1024 but it has not reached to solution.
 
Rahul Ramraje
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends,
i found one solution for above problem.
you can simply download springsource tool suite from following site :-
http://www.springsource.com/products/eclipse-downloads

just download "springsource-tool-suite-2.3.2.RELEASE-e3.5.2-win32-installer.exe" for windows32 system from above url and install it on your machine.

this tool contains eclipse with spring plugins.
so, you can get all features of eclipse plus spring's features.

great thanks to Muhammad Khojaye, Peter Johnson , David Newton for their support for this problem.

but friends, still our problem has not solved if you got any trick then just reply me.

 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your eclipse.ini file has no setting for the max permsize (the one for the launcher does not count). Add this line to the end of the file:

-XX:MaxPermSize=512M
 
Rahul Ramraje
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
-XX:MaxPermSize=512M

i tried with this argument but it is giving me same problem
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just ran across this article:
http://www.zdnet.com/blog/burnette/oracle-rebrands-java-breaks-eclipse/2012?tag=nl.e539
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic