I spent a lot of time on memory issues related to Eclipse, especially with Eclipse 3.2 and the shameful PermGen problem.
A few things that can make a difference:
1) Remove the memory used for the initial heap size: -Xms40m instead of -Xms128m. 2) Do not set the minimum size PermGen: remove -XX: PermSize = 128m
1 & 2 , .
3) - , .
4) "// ", , , Eclipse.
3 & 4 .
5) Max PermGen Max Heap, , , , / /, . PermGen, , JVM , .log.
, , , - , Windows , , JVM , . , JVM, Java jconsole ( JDK) .
, .