alxnbl / onenote-md-exporter

ConsoleApp to export OneNote notebooks to Markdown formats
GNU General Public License v3.0
919 stars 75 forks source link

Dangerously high memory consumption - System freezes #111

Open ashhSAG93 opened 2 months ago

ashhSAG93 commented 2 months ago

Describe the bug When we are exporting a notebook, the entire RAM of the system is used, causing the system to freeze and a need to forcefully shut down the system. The reason acc to me is that, when I see Task Manager, for every page exported, a Word program is spawned. So if there 1000 pages for eg, 1000 instances of word are opened. These are never killed. Even after the export is done, these programs remain.

Note: There are other programs running as well.

To Reproduce

Steps to reproduce the behavior. Export a OneNote notebook.

Expected behavior During the export of the notebook, I dont expect the entire system RAM to be consumed. And want to be working on other stuff while export is running

Logs N/A

Desktop (please complete the following information):

Additional context N/A