mcef icon indicating copy to clipboard operation
mcef copied to clipboard

MCEF may be leaving behind JCEF Processes run in the background. Even after minecraft is shut down.

Open Blobanium opened this issue 1 year ago • 6 comments

Last night i noticed my system was slowing down. and looked in task manager and noticed that multiple JCEF Helper process were taking ALOT of my CPU Resources. This is a major issue because this seems to be taking up the entire CPU Thread. (For context this system im using has a Ryzen 5 3600 with 6 cores and 12 threads.)

Just for reference on what this would look like in task manager.

image

These processes seem safe to kill without any issues. Il'l add more info if i find more things about it.

Blobanium avatar Nov 06 '23 18:11 Blobanium

I noticed the system slowdown when repeatedly launching instances with MCEF but didn’t expect it to not just be my computer being my computer, huh

GiantLuigi4 avatar Nov 06 '23 20:11 GiantLuigi4

Thanks, will work on this soon

ds58 avatar Nov 08 '23 01:11 ds58

What's the actual problem? The process lingers around after MC is closed? Or it's just using a lot of CPU in general? I wasn't able to replicate either case.

Is this from running in a development environment or from production?

ds58 avatar Nov 10 '23 01:11 ds58

Fixed with https://github.com/CinemaMod/mcef/commit/767e5e64c717e53b3335d66bb6ae0dd568c34630

ds58 avatar Nov 10 '23 04:11 ds58

Has this fix been included in the most recent version on Curseforge? If so this still seems to be an issue. After closing the game multiple instances still linger around.

Moose1002 avatar Dec 07 '23 05:12 Moose1002

It was supposed to have been fixed, but the fix didn’t end up working properly

I noticed it too, and have already brought it to DS’s attention

Current plan is to have the JCEF processes check the game process to see if it’s running rather than relying on the game to close properly

GiantLuigi4 avatar Dec 07 '23 05:12 GiantLuigi4