Results 1 to 3 of 3

Thread: controlling GC

  1. #1
    ravian is offline Senior Member
    Join Date
    Nov 2007
    Posts
    115
    Rep Power
    0

    Default controlling GC

    Hello,

    Is there a way I can control the garbage collection in Eclipse? If its not part of Eclipse, can I get some plugin to show me interesting statistics?

    I understand that I can do Garbage Collection by:

    Java Code:
    System.gc();
    Thanks in advance.

  2. #2
    javagk is offline Member
    Join Date
    Nov 2007
    Posts
    12
    Rep Power
    0

    Default

    Add Java VM startup options to improve Garbage Collection.

    Example:

    eclipse.exe -vmargs -Xverify:none -XX:+UseParallelGC -XX:PermSize=20M
    -XX:MaxNewSize=32M -XX:NewSize=32M -Xmx256m -Xms256m

  3. #3
    simi's Avatar
    simi is offline Member
    Join Date
    Dec 2007
    Location
    Singapore
    Posts
    18
    Rep Power
    0

    Default

    Hi,

    There are many plug-ins available for eclipse.you can try following plug-in which i am currently using for my IDE.

    KyrSoft

    Regards,
    Simi

Similar Threads

  1. Controlling method calls
    By bugger in forum New To Java
    Replies: 2
    Last Post: 01-04-2008, 01:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •