Bzzt... sorry but thanks for playing.

Actually System.gc() is only a suggestion to run garbage collection. The system will decide for itself whether to ignore your suggestion. And this makes sense since garbage collection can be time consuming and someone else may not be thrilled with your running garbage collection and holding up the JVM in the middle of their process.