So our gateway was eating up huge amounts of memory (9 Gigs) in a repeating, sawtoothing pattern. I’d assumed that this was a garbage collection issue, and following Phil Turmel’s advice here:
Did seemingly fix the problem. Memory useage was still saw-toothy, but the peaks never got higher than about 1GB before falling down again.
However, since making that change, we saw at one point memory useage go through a ‘phase transistion’ where all of a sudden a much higher rate of memory useage, and a much higher level of memory needed to be blocked before the garbage collection algorithm would clear things up. Fortunately, the spikes were lower than before (4-5 Gig before collection) but that’s still concerning, especially since it had only been a month or so since they change in settings.
During a maintenance period, we tried fixing this. We’d closed out all clients, all designers, everything, and found that rebooting the gateway computer fixed things. Memory useage is back down to about where it was. Thing is we don’t know what caused this, and can not regularly cycle this computer as we rely on it during facility operations.
Any guesses what could cause the memory management to change suddenly like that, and be fixed by a reboot, while using G1GC?