Eclipse performance tuning for multiple processors and lots of memory?

I have a dual-core quad-core machine with 12 gigabytes of memory on which I run eclipse, does anyone know which JVM options will be the most susceptible / experienced?

I am currently running:

-Xms256m -Xmx2048m -Xss2m -XX: PermSize = 128m -XX: MaxPermSize = 384M

Would changing -Xmx to 4096 give better performance? Or is there some point when more memory will degrade performance?

Also do I have a garbage collector running on a separate kernel to stop lags in the user interface during GC?

+4
source share
1 answer

The most important thing is to make sure that you are using the 64-bit version of Eclipse for the 64-bit version of the JVM. You are already allocating more memory than I have ever seen for Eclipse. If you do not have a ginormous database loaded in Eclipse, you may not come close to that limit. You can monitor Eclipse memory consumption on the OS process monitor. If you see him approaching the limit, then you know that you can give him more memory.

The JVM will automatically use all available kernels. Eclipse has multithreading. There is no way to associate Java or GC threads with specific kernels.

If you see the user interface lagging behind the modern JVM, this is not due to the GC, if you run out of memory, and the GC should pause the process.

+5
source

Source: https://habr.com/ru/post/1339843/


All Articles