? JVM - . , , , .
, , ... - ( ..) , , . JVM , , , ( GC / ).
If you make sure that all of the memory allocated in each individual phase of the program’s life is GCable before the start of the next phase, you can use the -Xmx option to reduce the maximum process size and result in a permanent program. GC between phases. I have done this before with some success.
source
share