Search found 3 matches

by Bird
Thu Jan 04, 2018 10:15 pm
Forum: Support and Development
Topic: Mesh Garbage Collection Issue
Replies: 4
Views: 2763

Re: Mesh Garbage Collection Issue

Both of our codes essentially do the same thing, but yours ends up with a ram value that's not too high, compared to mine which fails to free at least 50% of the ram that was present before garbage collection. I double checked, and I'm not storing the mesh anywhere, besides a local variable that goe...
by Bird
Thu Jan 04, 2018 3:01 pm
Forum: Support and Development
Topic: Mesh Garbage Collection Issue
Replies: 4
Views: 2763

Re: Mesh Garbage Collection Issue

I'm not entirely sure how love handles this. I tried running the same test but with many 500x500 ImageData objects, which are similarly managed internally by LÖVE, instead of 3000 vert meshes, and as soon as the garbage is collected by Lua, LÖVE's memory usage consistently goes back down. In a test...
by Bird
Thu Jan 04, 2018 6:13 am
Forum: Support and Development
Topic: Mesh Garbage Collection Issue
Replies: 4
Views: 2763

Mesh Garbage Collection Issue

Hey, y'all, first post here. I'm making a 3D game , so I rely on LÖVE's built in meshes, and I use them heavily, creating many of them at a time when needed and freeing them when needed no longer, because it'd otherwise use a lot of memory to keep them around. However, I seem to have memory issues r...