Rishi Shah wrote:
Lukas Casier wrote:
System.gc() call simply SUGGESTS that the VM do a garbage collection and it also does a FULL garbage collection (old and new generations in a multi-generational heap), then it can actually cause MORE cpu cycles to be consumed than necessary.
So you mean I should further look into it until I've found the real problem? It's working for now
So, you're just calling this method in your main method?