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

Limit garbage collector to one thread #1806

Closed
1-alex98 opened this issue Jul 1, 2020 · 0 comments · Fixed by #2057
Closed

Limit garbage collector to one thread #1806

1-alex98 opened this issue Jul 1, 2020 · 0 comments · Fixed by #2057

Comments

@1-alex98
Copy link
Member

1-alex98 commented Jul 1, 2020

Those need to be added to Intelij conf(edit run configuration) as well as the install4j(just search for the other options in the install4j configuration that is on top level) one.

For Java 8 there are another options which depends on OS. You could see them for Windows here. Some you could find helpful:

    -XX:CICompilerCount=threads Sets the number of compiler threads to use for compilation
    -XX:ConcGCThreads=threads Sets the number of threads used for concurrent GC. The default value depends on the number of CPUs available to the JVM (!possible cause of your problem!)
    -XX:ParallelGCThreads=threads Sets the number of threads used for parallel garbage collection in the young and old generations. The default value depends on the number of CPUs available to the JVM
    -XX:+UseParNewGC Enables the use of parallel threads for collection in the young generation. By default, this option is disabled (but it could be enabled due to another options)

Wanna have the bug fixed quickly?
Visit Issue hunt...
Issue hunt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants