Crafting Station

Crafting Station

12M Downloads

[1.20.1] Potential memory leak?

choekstr opened this issue ยท 1 comments

commented

MC ver: 1.20.1
Forge: 47.1.3
JEI ver: jei-1.20.1-forge-15.2.0.27
modpack: ATM9 0.2.6
craftingstation: 1.20.1-1

I think there is a memory leak in crafting station but have no way to validate or confirm; I just strongly suspect is all:
When I have crafting station installed, I get around 20 minutes with 8GB allocated to the pack. If I bump it up all the way to 24GB (on a 32GB system) I can get around 1-1.5 hours of play before I get an insufficient memory / out of physical RAM or swap space error.

Once I removed crafting station (JEI Integration is broken so station is useless right now), I have been playing for a good 6 hours today and memory is not rising beyond the initial allocation after pack and world loads.

Here is an example of one of the out of memory crash logs:
hs_err_pid15732.log

commented

Looks like this is not happening without shaders enabled, so probably and more likely it is shaders causing the issue and just coincidental with crafting station installed. I have reinstalled crafting station as a test and not enabled shaders and so far been playing for 4 or so hours and no memory leak detected that would cause an increase in memory usage and especially no crash.