Memory leak. Reloading project increases ram usage.
I've tried reloading a large project several times. After the 5th time, the java app was using around 6GB of memory. This bug is also present in RIDE. I'm curious if you can fix it.
It's possible it's a true memory leak but it's also possible that the JVM is just not releasing free memory. Could you please try running Snowride with java -XX:+UseG1GC -XX:MaxHeapFreeRatio=30 -XX:MinHeapFreeRatio=10 -Xmx2g -jar snowride-1.8-jar-with-dependencies.jar and tell me if Snowride limits itself to 2 GB, regardless of how many times you reload the project?
@Soothsilver It limits itself to 2GB with that.
Good, then I think it's fine. Although maybe Snowride should launch itself with those JVM parameters by default or add an option for this, because most users won't want to add custom parameters into a launcher.