I have no idea what’s causing this, it doesn’t have anything to do with the code. Even the demo sketches are affected in exactly the same way. I’ve tried a clean java install and increasing available memory to 1024MB in the PDE, but that had no effect at all. My system should be able to handle these sketches without breaking a sweat, and has done so on in the past on the same version (3.4).
Does anyone know what could be causing this kind of behaviour? I’d really like a second opinion before resorting to a full system wipe.