drawio-desktop icon indicating copy to clipboard operation
drawio-desktop copied to clipboard

Locked process consuming high CPU

Open epomatti opened this issue 3 years ago • 6 comments

Preflight Checklist

  • [X] I agree to follow the Code of Conduct that this project adheres to.
  • [X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

Describe the bug Frequently the Draw.io process keeps running on high CPU. Even if I close the window, it still keeps locked. I have to kill it manually in the task manager to solve it.

I was not able to find a way to reproduce the issue. It currently happens randomly and around once every day.

image

Only workaround is to kill the process manually.

  • draw.io version 19.0.3

Desktop (please complete the following information):

  • OS: Windows 11

Additional context Not sure if related but I frequently work on files that are in my local OneDrive sync folders. I also use Dark Mode.

epomatti avatar Aug 02 '22 12:08 epomatti

I also have this problem and the process doesn't close automatically when I close the program

xBoo avatar Aug 03 '22 07:08 xBoo

I figured out that the problem might really be related to OneDrive, I'm using OneDrive in the same situation as you

xBoo avatar Aug 03 '22 07:08 xBoo

I have the same problem. My files are not stored on OneDrive (although do i have OneDrive drives, can't see how it could be related). Whenever i open an additional instance of Draw.io, one new process appear. The picture show 3 high-consuming process after i just opened 4 files.

I can kill those processes at any time without effect of draw.io. But they don't disappear when i close draw.io, i always have to kill them manually.

I run diagrams.net 20.2.3 desktop on windows 10 Pro 21H2 64-bit. DrawIO high consuming processes

brets1001 avatar Aug 16 '22 14:08 brets1001

I have the same problem: I am using Windows 10 (21H1), and the latest drawio Windows client version, 20.2.3 The problem is reproducible: After restarting Windows I open one drawio diagram, CPU load is normal (<1 % standby). Then I open second diagram, and CPU load for that process is ~15 % and remains. Each new opened diagram consumes high CPU load until after ~9 diagrams CPU consumption is almost maxed out. Even after closing the diagrams, the processes are left running, and they have to be ended in Task manager.

In the earlier reports it was speculated whether this problem is related to Onedrive. Well, I have Onedrive, as probably all Windows users, but I don't open these files from Onedrive since they are on local hard drive, so I don't think just the existence of Onedrive in my computer has anything to do with the problem.

kuva

mannisp avatar Aug 29 '22 12:08 mannisp

Note: This is the same bug that has been previously reported as issue 390: Heavy CPU load from draw.io windows client. I have further comments there.

mannisp avatar Aug 29 '22 16:08 mannisp

I frequently have this problem and it's still an issue with the latest version draw io_usage (that's with no visible draw.io windows open!)

See also #390

howff avatar Sep 04 '22 12:09 howff

I just updated to version 20.3.0 and the problem is GONE! I tested in two computers that right before update the problem existed, and after installing update 20.3.0 there was no additional draw.io background processes consuming CPU anymore.

mannisp avatar Sep 21 '22 13:09 mannisp

@mannisp I'm also at 20.3.0 for a while and haven't noticed issues, but I haven't been using it as much.

I'll use it for a while more and report it here in some time, maybe then we can close the issue.

epomatti avatar Sep 21 '22 14:09 epomatti