msarilar / EDEngineer

An overlay to track Elite Dangerous blueprints progress in real time
MIT License
503 stars 175 forks source link

Out of memory-Exception on Reload Data #672

Open Conparator opened 2 years ago

Conparator commented 2 years ago

I am receiving an "Out of memory"-Exception when trying to reload all logs (via the "Reload all data"-button). I attach the full trace in a txt-file. EDEngineer_OutOfMemory_Exception.txt

msarilar commented 2 years ago

I wrote something a while ago but forgot to push ; are you able to checkout this lazy_test branch, compile and try it out? https://github.com/msarilar/EDEngineer/tree/lazy_test

Conparator commented 2 years ago

No problem, give me a moment (I've deleted my previous reply here because I have overseen something in your message and just noticed it facepalm Therefor this "second" response...still early in the morning here).

Conparator commented 2 years ago

Still the same error.

By the way, when I compile and execute the build, it shows me version 1.1.6.20 (same in the publish-tab). I downloaded and launched the code of the branch you linked.

Besides this, I monitored the process via the TaskManager and recognized that it quickly allocates a lot of Memory (I have 16GB of Memory in total and 4GB to 7GB of them are free without EDEngineer). The OutOfMemory-Exception usually occurs for me when I try to reload all data via the related button. So I guess probably it's not even a bug or issue in the code, perhaps I actually just don't have enough Memory for this task.

msarilar commented 2 years ago

just reviewed that code and found some oddities - would you mind pulling the branch and trying again?

Conparator commented 2 years ago

Hi, sorry for the late response. I will do ASAP.