• 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

Eclipse and Garbage Collection

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been working with eclipse for a little while, and I have found what has been an annoyance for me. It stops responding somewhat frequently for brief periods while the JVM does garbage collection. Is there a way to make garbage collection occur in the background so I don't lose response in my IDE? I find it frustrating to be moving in the code and then I have to take a break while it does gc duty for a minute or two.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Wasn't JDK 1.4.x supposed to fix this (by the virtue of multi-threaded garbage collection)?
 
Alex Belt
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's quite possible, but for a host of reasons I can't go into, I can't use 1.4.
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it "I can't use 1.4" for technological reasons (i.e. it's not out for my computer yet (don't know what system that would be...) ) or "I can't use 1.4" for some beaureucratic management/project reason. If it's the latter, you can install both JDK's on your system, and *run* Eclipse under 1.4, but have it use whatever other version you want to *compile* your source with.
 
Author
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also you can give Sun's JVM more memory to play with (making gc less frequent) by using the -Xmx option. For example,

allocates 256MB to the JVM. You might have to increase or decrease the number to find a good value for your system.
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
same here.. please can someone guide us???
Here's my eclipse.ini configuration :


Thanks in advance..
 
Ranch Hand
Posts: 650
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Talha Kabakus wrote:same here.. please can someone guide us???



Same here what? The topic you're posting to was from 2003 and had to do with someone that was not able to upgrade their JVM to the 1.4 level. Are you saying that you're still running on a JVM version < 1.4?

Rather than trying to wake the zombies, perhaps you can just post a new topic with a description of your problem.
 
Talha Kabakus
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Mark E Hansen wrote:Same here what? The topic you're posting to was from 2003 and had to do with someone that was not able to upgrade their JVM to the 1.4 level. Are you saying that you're still running on a JVM version < 1.4?

Rather than trying to wake the zombies, perhaps you can just post a new topic with a description of your problem.


I've already created topic, here's the link : Click
Thanks for your interest..
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic