Frames that jerk

Every now and then, not often or predictably, while flying around in Rimscape, I get frames that hang for a noticable amount of time. I can never figure out any real reason why it’s happening. Are there any good techniques to use to figure out what happens when a frame jerks?

Try turning on verbose GC. I expect that it’s a GC glitch.
Also try tweaking the GC options to see if you can iron it out. -Xincgc might help, and also tweaking the new space.

Cas :slight_smile:

I tried running with the VM argument -Xincgc and played the game for a while then stopped and nothing happened…

AWT/swing event queue issues can cause funny pauses like this - are you rendering using them?

Frame, Canvas, MouseListener and KeyListener is all.