Knowledgebase
7.x: EurekaLog compilation phase hangs/stalls or runs very slowly; IDE is unresponsive
Posted by Aleksandr Alekseev on 04 August 2014 09:51

Problem:

A). EurekaLog takes a lot of time to complete its tasks during compilation of your projects.

B). IDE becomes unresponsive during EurekaLog's work.

Reason:

EurekaLog IDE expert performs post-processing of your projects. The post-processing runs outside of the IDE (as standalone child process) - to minimize impact on the IDE, and gain more memory for large projects (IDE process may ).

This design may cause issues with performance in certain rare conditions (such as running under virtual machine, with lots of background services, etc.).

Solution:

You can adjust process priority class for EurekaLog post-process compiler (ECC32/EMake):

A). Go to HKCU\Software\EurekaLab\EurekaLog\7.0\IDE and creare a new string value "ECC32PriorityClass" (without quotes). Set it to a valid value of process priority class - such as $20 or 32 (for NORMAL_PRIORITY_CLASS), $4000 or 16384 (for BELOW_NORMAL_PRIORITY_CLASS), $8000 or 32768 (for ABOVE_NORMAL_PRIORITY_CLASS), $40 or 64 (for IDLE_PRIORITY_CLASS), $80 or 128 (for HIGH_PRIORITY_CLASS).

B). Use --el_priority command line option. You can pass this command-line option to ecc32/emake when you are invoking it manually. Or you can add this switch to "ECC32AdditionalOptions" option under Advanced / Custom page in EurekaLog's project options. 


Help Desk Software by Kayako Resolve