Try tweaking settings.ini
idecommand="java -jar -Xms256m -Xmx1000m"
256m is reserved on startup for LGM, and the max it can go is 1000m. I really don't see how you could have exceeded that.
lol - no way I came even close!
Here is the project it crashed on
1 sprite, 32x32 white square
1 object
few lines of code to bind x,y to mouse coordinates and play with image alpha
settings.
Must be something not clearing RAM or memory leak somewhere I don't know,
but it happens especially when running project from within LGM frequently.
it is already set at xms 256 xmx 1000,
so I set xms 1000.
will try.