I have a application that has a huge heap (around 100GB), and during initialization it allocates almost all avaliable memory with different caches. The problem is that this initialization phase allocates lots of object that cause a painful de-fragmentation of old gen. So my idea is to force full gc as a last step of initialization phase to align/compact old gen and reduce probability of "Concurrent mode failure" in runtime.
Is there any way of forcing such a collection ?
Thanks