I have a memory leak problem on a sketch running on a rPi, which will eventually make it crash since the program is running 24/7. Managed to recreate it on my Mac (MacBook Air M1, 2020 Monterey 12.3.1). Processing ver 4.0b8
Found out it happens even with the empty sketch below:
void setup(){
size(100,100);
}
void draw(){
background(0);
}
Running this, will cause Memory usage to slowly rise, at least 100Mb per hour.
If I reduce frameRate, the memory leaks slower, so it seems to have something to do with the draw() call.