code icon indicating copy to clipboard operation
code copied to clipboard

Out of memory (the launcher itself!)

Open Felix14-v2 opened this issue 1 year ago • 1 comments

Describe the bug

After some time Modrinth App... well, crashed, I guess? image image

I suspect the logger module, because my mod combination produced ≈170 MB of logs, and the logger page was opened latest_stdout (copy).zip

Steps to reproduce

Just play Minecraft for a long time.

System information

Windows 11

Additional

May be relevant: https://discord.com/channels/734077874708938864/734077874708938867/1209997551785213962

Felix14-v2 avatar Mar 31 '24 00:03 Felix14-v2

Started having this issue as well. Seems to happen very often now on my Windows 10 Machine. Never had the issue before the Ad update.

Double checked and my system has always had more that 12gb of available ram. image

Hitting refresh does fix it.

v0.8.7

QarthO avatar Sep 11 '24 22:09 QarthO

For me, having the live log open while playing causes it to hog more and more memory over time. It has occasionally consumed so much (several GBs after ~30 mins on a modded instance), sometimes crashing other apps and even the graphics driver. Switching to another page and coming back releases the memory space.

Naruyoko avatar Oct 02 '24 20:10 Naruyoko

Interesting, if this is the case should be a very simple fix where the live logs only show the X most recent lines int he log

QarthO avatar Oct 02 '24 22:10 QarthO

I opened the DevTools and used the Allocation instrumentation on timeline on a short session, which accumulated ~1.1 GB memory. This is the non-unfolded view of constructor calls, I will try to look at it further. スクリーンショット 2024-10-03 105703

Naruyoko avatar Oct 03 '24 16:10 Naruyoko

Opening the first items recursively (which holds almost 100% of memory) looks like this.

image

Naruyoko avatar Oct 03 '24 16:10 Naruyoko