# Parsing complex notes causes 100% CPU and eventually causes all notes to be lost

**URL:** <https://forum.obsidian.md/t/parsing-complex-notes-causes-100-cpu-and-eventually-causes-all-notes-to-be-lost/36759>\
**Category:** Bug graveyard\
**Tags:** tracked\
**Created:** [April 30, 2022, 3:45pm UTC](https://forum.obsidian.md/t/parsing-complex-notes-causes-100-cpu-and-eventually-causes-all-notes-to-be-lost/36759 "2022-04-30T15:45:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![0xFF](https://forum.obsidian.md/user_avatar/forum.obsidian.md/0xff/32/29553_2.png) [@0xFF](https://forum.obsidian.md/u/0xFF)\
**Post date:** [April 30, 2022, 3:45pm UTC](https://forum.obsidian.md/t/parsing-complex-notes-causes-100-cpu-and-eventually-causes-all-notes-to-be-lost/36759/1 "2022-04-30T15:45:44Z")

</div>

### Steps to reproduce

I have a Linux notes file with a lot of Linux commands, not exactly written in Markdown format.  
Yesterday, when I was taking notes, I found that the editor coloring was wrong, so I scrolled to find out where the parsing was wrong, and then added code paragraphs or carriage returns to try to solve the problem, but after a while I found that the CPU usage was 100%, and then after another while, I got an error, and all the notes were lost.  
I can feel that for this note file, Obsidian parsed very hard, dragging the display are becoming slow.

I highly suspect that it is caused by a large number of symbolic characters, especially the greater than and less than signs.

### Expected result

Parse and highlight normally

### Actual result

100% CPU and eventually causes content of this note to be lost。

### Environment

- Operating system: MacBook Air (Retina, 13-inch, 2020)
- Debug info:  
SYSTEM INFO:  
Obsidian version: v0.14.6  
Installer version: v0.12.15  
Operating system: Darwin Kernel Version 19.6.0: Tue Feb 15 21:39:11 PST 2022; root:xnu-6153.141.59~1/RELEASE\_X86\_64 19.6.0  
Login status: not logged in  
Insider build toggle: off  
Live preview: on  
Legacy editor: on  
Base theme: dark  
Community theme: Dracula for Obsidian  
Snippets enabled: 0  
Safe mode: on

* * *

### Additional information

 ![57901651245169_.pic](https://forum.obsidian.md/uploads/default/original/3X/7/5/75cd6d5391ebe507e97f5f7637aad66ba94d2485.jpeg)

 ![57921651245241_.pic](https://forum.obsidian.md/uploads/default/original/3X/9/e/9e65b63464678eecaaf5ece2086cd78d5cfb2c29.jpeg)

 ![57931651245426_.pic](https://forum.obsidian.md/uploads/default/original/3X/6/5/65494c67f5e311eb1b7248874e9b3d149ed0c239.jpeg)

 ![57951651245502_.pic](https://forum.obsidian.md/uploads/default/original/3X/6/4/64ac074fab95ad6b854d3bb1e18b7c43c20e8ab1.png)

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [April 30, 2022, 3:48pm UTC](https://forum.obsidian.md/t/parsing-complex-notes-causes-100-cpu-and-eventually-causes-all-notes-to-be-lost/36759/2 "2022-04-30T15:48:54Z")

</div>

Download and reinstall obsidian.

If this bug only happens in the legacy editor, we won’t fix it.

Attach a screen recording of this happening in the sandbox vault. If it happens attach a copy of the note where this is happening.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [May 26, 2022, 12:59pm UTC](https://forum.obsidian.md/t/parsing-complex-notes-causes-100-cpu-and-eventually-causes-all-notes-to-be-lost/36759/3 "2022-05-26T12:59:54Z")

</div>

Closed on May 26, 2022, 12:59pm UTC



---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [October 13, 2022, 2:54pm UTC](https://forum.obsidian.md/t/parsing-complex-notes-causes-100-cpu-and-eventually-causes-all-notes-to-be-lost/36759/4 "2022-10-13T14:54:42Z")

</div>

Archived on October 13, 2022, 2:54pm UTC


