Bug 175091 - Faster GC option + increasing Xmx
Faster GC option + increasing Xmx
Status: NEW
Product: platform
Classification: Unclassified
Component: -- Other --
6.x
All All
: P3 (vote)
: TBD
Assigned To: issues@ide
issues@platform
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-21 11:29 UTC by qbeukes
Modified: 2009-10-26 09:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qbeukes 2009-10-21 11:29:22 UTC
Yesterday I tried switching to the ParallelGC to see if it will improve my IDE's performance. I noticed that especially
when opening large projects, the task scanning can bring netbeans almost to a halt as the GC runs too many times.

After I made this switch netbeans had much less GC halts and generally seems much more responsive.

Maybe it should become a GUI option with the different GCs and an "Auto Detect" (which would be the default). Then the
auto detect should check how many cores/CPUs are available, and if more than one use the ParallelGC, otherwise the
SerialGC. 

I tried this one both my desktop+laptop, which both have dual core CPUs. Both have a noticeable difference and I'm able
to open large projects much quicker, and while it's scanning the project (even at IDE startup) I am able to continue
with my tasks. Some projects take about 15 minutes to finish scanning, and during this period I couldn't do anything.
Now I continue as if nothing is happening.

Further I also increased Xmx a bit on my desktop as I quickly reach the default of 512m. Maybe this should also become a
an option, as well as increasing the Xmx when Netbeans notices you reach the maximum often. For example, Netbeans would
have noticed that I get to 490mb/512mb many times and then increase it by 64mb, doing this with every start of Netbeans. 

These 2 together made my frustrations must less.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo