no matter of how much memory I allocate 4, 8 or 10 Gigs, my app has a pattern of consuming most of the memory - 96% - and every few days comes to a halt as it does not have enough mem left to GC.
We are monitoring and triggering manual GCs to ease the pain, but I'd expect the JVM to anticipate this itself and GC in due course.
What flags should I consider to trigger GC at say 80% - and is this candid approach the right one?