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.
source share