Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Garbage Collector causing excessive CPU usage on some processors #8

Closed
GoogleCodeExporter opened this issue Aug 25, 2015 · 3 comments
Closed
Labels

Comments

@GoogleCodeExporter
Copy link

Investigate alternative Garbage Collector settings to see if there is a GC that 
doesn't cause excessive CPU spiking on Low and mid-level processors.

Original issue reported on code.google.com by dennis.s...@gmail.com on 6 May 2014 at 11:49

@GoogleCodeExporter
Copy link
Author

Commit #175 should reduce memory usage and mitigate this issue.  Testing the 
code changes now and will close this ticket if the situation is improved.

Original comment by dennis.s...@gmail.com on 26 Oct 2014 at 11:52

@GoogleCodeExporter
Copy link
Author

Switch over from the JRE default Parallel Garbage Collector to the new G1 
Garbage First garbage collector.  Using the default parameters it appears to 
have a more consistent and predicatable collection pattern and it seems to keep 
the heap space size relatively stable, corresponding to the workload.

I've tested on both linux and window.  It works good on Linux, but the total 
heap size seems large on my 16GB dev system.  On Windows I'm very impressed 
with the total overall heap size and the gc consistency.  Running 2 x MPT1327 
decoders on Windows consumes 3% CPU and 134MB of heap on an i7 system with 8GB 
of RAM.

Original comment by dennis.s...@gmail.com on 5 Dec 2014 at 4:03

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision r206.

Original comment by dennis.s...@gmail.com on 5 Dec 2014 at 4:05

  • Changed state: Fixed

GoogleCodeExporter pushed a commit that referenced this issue Aug 25, 2015
…lector using the default configuration. There is a marked improvement in heap space management on Windows systems and an overall consistent GC pattern on both Linux and Windows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant