LazuriteMC/Polaroid

possible memory leak

Closed this issue · 1 comments

need to do more testing, but with sufficient distinct polaroid photos rendering at once in item frames, the client can quickly run out of memory. nearly crashed my whole computer, oops

Taking lots of photos and placing them in item frames cuases a memory leak in the JRE.
Effectively more and more memory is allocated to the JDK when you take photo's but the internal minecraft memory cache seems fine.
Possibly some object doesn't get garbage collected correctly?
image
2022-11-21_19 38 26