massCodeIO / massCode

A free and open source code snippets manager for developers
https://masscode.io
GNU Affero General Public License v3.0
5.8k stars 197 forks source link

[Bug]: 100% cpu usage and stuck #492

Open Qwenjin opened 1 week ago

Qwenjin commented 1 week ago

Describe the bug

Open any code snippet. Occasionally, I get stuck and find that the cpu usage is 100%. It will return to normal after some time.

image

relate to: https://github.com/massCodeIO/massCode/issues/287

To reproduce

  1. Create some random data to make the db.json file larger than 100kb.
  2. Open some code snippets with more content.

Version

3.11.0

OS

macOS 12.7.2

Validations