Memory Leak with Refined Storage

  • Tech Support section is for getting help with FTB related problems. If there's a repeatable issue that can be labeled as a bug, then please use the issue tracker for the pack or the app at GitHub issue trackers - If there's no repository for a pack that means that the pack is old and/or will not be updated. Bugs for older packs will not be fixed, unless they are critical.

WuffleFluffy

New Member
Jul 29, 2019
402
0
0
Title Memory Leak with Refined Storage

Launcher Type Curse App

Modpack DireWolf20 1.10

Modpack version 1.6

Have you modified the pack? No

Link to log file http://paste.feed-the-beast.com/view/426a404f

Details of the issue There appears to be a problem with Refined Storage in the current version of the DW20 mod pack.

ISSUE DETAIL:

Attempting to auto-craft in crafting termina in refined storage generates length UI pauses when trying to autocraft more than 5 items, this behaviour
did not exist prior to 1.6 of mod pack.

Also, after some investigating server drop-outs, we had the creeperhost system monitor page open whilst playing MineCraft on the server, whenever we go
to craft something in refined storage, we noted that memory usage on the server continually increased at a steady pace, until all memory was consumed,
at which point in time the server would just crash, with no errors in the log file (refer to attached log file).

I have created a thread in the general FTB Chat under following thread which contains an image of system resource graphs.

https://forum.feed-the-beast.com/threads/possible-memory-bug-in-dw20-1-10-version-1-6.218151/

ACTIONS TAKEN TO CAUSE ISSUE:

Attempting to auto craft with Refined Storage seems to cause problem, however this may not be the mod that is causing problem, issue may or may not
be unique to my server.
 
Last edited by a moderator:

WuffleFluffy

New Member
Jul 29, 2019
402
0
0
OK we figured it out.

The problem was caused by a 'circular reference' in the Refined Storage Auto crafting system.

We had a pattern for 'Quite Clear Glass' which was encoded to smelt 3 vanilla glass blocks to make one block of 'Quite Clear glass' in an EnderIO
Alloy Smelter set for 'Alloys Only'.

We also had a pattern to produce 'Glass' (Vanilla glass block) which was encoded to smelt 1 block of 'Quite clear glass' to make 1 block of vanilla glass
in an EnderIO Alloy Smelter set for 'Furnace Only'.

This obviously caused a circular reference loop in Refined Storage, which eventually leads to the server running out of memory.

The problem occurred when we tried to craft any item using Refined Storages' crafting system that involved 'Glass', other patterns were fine.

This is being posted here to assist with bug tracking etc, we're not sure if this is a bug in the mod or just something you need to be careful of,
however I suspect that - if possible - the crafting system should be able to detect a circular reference without crashing the server.

We will go back and re-check with 1.6 of the mod pack.

Hope this is helpful :)

-Wuffle!