Launcher icon indicating copy to clipboard operation
Launcher copied to clipboard

"Keep updating" when log files are very large hanges Multimc

Open FeedTheChunk opened this issue 3 years ago • 1 comments

Operating System

Windows

Description of bug

MultiMC Version 07.0 dev 3635 Mod Pack: Cryptopolis B2.0 Windows 10 22h2

If Minecraft is spamming the console with constant messages, errors, then MultiMC will enter state of "Not Responding" Which also hangs Minecraft. Force closing MultiMC will allow Minecraft to continue.

Steps to reproduce

Cryptopolis B2.0 modpack has some sort of bug in it that causes it to constantly spam the console with error messages (~58 messages / sec). The pack Devs are aware of the problem and working to find a fix but that bug is causing MultiMC to become unresponsive due to so many error messages being generated.

Suspected cause

I hesitated to report this as there is already an option for limiting the number of log lines in the config. The downside to this is that the console stops showing all new log entries.

So is MultiMC hanging because it can't read and update the console faster enough? Of is starting to use so much memory that Windows is swapping mem to disc slowing the entire system?

A possible solution might be to only read the last X number lines of the log file and display those? Kind of like the Linux command tail Maybe limit how often this is done effectively still showing the log w/out taking too many resources to do so.

This issue is unique

  • [X] I have searched the issue tracker and did not find an issue describing my bug.

FeedTheChunk avatar Dec 15 '22 13:12 FeedTheChunk

🆙

Starmania avatar Feb 11 '23 14:02 Starmania