Imported from previous forum
Take a look at five ways in which we can use efficient coding to help our garbage collector spend less CPU time allocating and freeing memory, and reduce GC overhead. Long GCs can often lead to our code being stopped while memory is reclaimed (AKA “stop the world”). Read full article at
http://www.javacodegeeks.com/2013/07/5-coding-hacks-to-reduce-gc-overhead.html