-
1. Re: help! attempting to refactor a method casues OutOfMemory
peterj Nov 9, 2009 10:55 AM (in response to elhanan)Try increasing the -Xmx size, say to -Xmx1200m.
-
2. Re: help! attempting to refactor a method casues OutOfMemory
nickboldt Nov 9, 2009 11:01 AM (in response to elhanan)Might also help to increase PermGen space:
http://wiki.eclipse.org/IRC_FAQ#I.27m_having_memory.2C_heap.2C_or_permgen_problems.2C_what_can_I_do.3F -
3. Re: help! attempting to refactor a method casues OutOfMemory
elhanan Nov 9, 2009 12:15 PM (in response to elhanan)increasing it didn't work, eclipse simply never came up , this didn't happen before.
-
4. Re: help! attempting to refactor a method casues OutOfMemory
peterj Nov 9, 2009 12:20 PM (in response to elhanan)How much free memory do you have available (before running Eclipse)? Did you also increase the permgen size? The JVM will refuse to run if it determines there is not enough memory to allocate the heap and permgen. If you have plenty of memory, you might want to play around with the permgen size and max heap size to find a workable combination. It might also help to monitor the heap usage for your original settings. A tool such as jconsole or visualvm should help with that.
-
5. Re: help! attempting to refactor a method casues OutOfMemory
mareshkau Nov 9, 2009 12:25 PM (in response to elhanan)Are you using win x64?
-
6. Re: help! attempting to refactor a method casues OutOfMemory
peterj Nov 9, 2009 12:28 PM (in response to elhanan)Another thought - how large is your workspace? How many projects? Closing unnecessary projects might free up enough space to let you refactor.
-
7. Re: help! attempting to refactor a method casues OutOfMemory
elhanan Nov 9, 2009 12:39 PM (in response to elhanan)have winXP 32 bits, i have around 2GB free memory out of total of 3GB, but don't forget i need to run jboss server as well.
my workspace is rather large, but i can't exactly tell you how large it is (in what units) -
8. Re: help! attempting to refactor a method casues OutOfMemory
akazakov Nov 9, 2009 2:17 PM (in response to elhanan)There is a bug in JBT which could lead to this memory leak. See https://jira.jboss.org/jira/browse/JBIDE-5179
Fixed in trunk. Elhanan, we will appreciate very much if you verify this issue in next nightly build. -
9. Re: help! attempting to refactor a method casues OutOfMemory
elhanan Nov 9, 2009 3:27 PM (in response to elhanan)i'm not really sure if seam is the culprit here, as i tried to do uninstall from eclipse of all plug-ins aside from jbossAs tools, and i still got it, only when i removed it as well , i finally broke clear, but again i'm not sure.
i did a fresh install, updatded jboss tools, but this time only jbossAS tools, jbpm and hibernate (no seam or other stuff) and it worked, actually it worked a whole lot faster, (well except for mylyn pug-in keeping time out)
oh, i could not get the birt integration for jboss, it kept needing a depedency from wtp ui integration.
i thought uninstall actually deleted plug-ins but it didn't. -
10. Re: help! attempting to refactor a method casues OutOfMemory
nickboldt Nov 9, 2009 4:13 PM (in response to elhanan)For missing birt-wtp integration plugin (or for Maven), add the update site(s) listed here:
https://www.jboss.org/tools/download/dev.html
or
http://download.jboss.org/jbosstools/updates/JBossTools-3.1.0.M4/
or
http://download.jboss.org/jbosstools/updates/development/
No matter how many places I document this ... someone still asks. ;)