Applied Energistics 2

Applied Energistics 2

160M Downloads

AE2 Memory Leak

bagofsquirrels opened this issue ยท 1 comments

commented

Describe the bug

I noticed that while an AE2 terminal window is open, Java will continue to consume memory until all available PC memory is used. Seems to be consuming memory at roughly 10 MB/s as long as the AE2 terminal window is open. Memory allocation stops when the terminal window is closed, but doesn't free up memory.

The amount of memory used in game via F3 does not seem to reflect this, but does show up in task manager in Windows.

Originally found this while playing the FTB Direwolf20 1.21 modpack, but have confirmed this also occurs with AE2 as the only mod installed.

image

Just after loading the world:

image

After several minutes in game with the ME terminal window open:

image

The amount of memory I have allocated to the game is 8GB.

How to reproduce the bug

Steps to reproduce:

  • Place down ME controller and connect some storage drives and a Crafting Terminal
  • Dump in a bunch of items
  • Keep ME terminal window open and open Windows Task Manager
  • Memory usage will steadily climb

Expected behavior

Memory usage should remain relatively stable.

Additional details

Originally posted this as a bug related to the FTB Direwolf20 1.21 pack. Link to that report located here for reference:
FTBTeam/FTB-Modpack-Issues#6015

Which minecraft version are you using?

1.21

On which mod loaders does it happen?

NeoForge

Crash log

N/A