Disable Ressource-Leak-Check
Posted: Fri Nov 08, 2019 2:41 pm
Hello,
we have a module, which loads a lot of data into the RAM.
When run this with Ressource-Leak-Check aktivated, I reports no leaks.
But when the check is active it makes the module really slow and eats a lot of memory.
Indeed it uses so much memory, so that if the module is loaded at a later time
or there are more modules which are loaded there occurs a memory overflow.
Since the module is already checked for memory leaks the idea is to disable the
leak-check for the time where the large module is loaded.
Is there a solution / a idea for such a problem? Maybe a compiler-switch?
Or is there a plan to make madExcept.MESettings.ReportLeaks writeable?
Or is it impossible to stop the leak-protokoll?
Greetings from Weener, germany
i.A. Gerit Freericks
we have a module, which loads a lot of data into the RAM.
When run this with Ressource-Leak-Check aktivated, I reports no leaks.
But when the check is active it makes the module really slow and eats a lot of memory.
Indeed it uses so much memory, so that if the module is loaded at a later time
or there are more modules which are loaded there occurs a memory overflow.
Since the module is already checked for memory leaks the idea is to disable the
leak-check for the time where the large module is loaded.
Is there a solution / a idea for such a problem? Maybe a compiler-switch?
Or is there a plan to make madExcept.MESettings.ReportLeaks writeable?
Or is it impossible to stop the leak-protokoll?
Greetings from Weener, germany
i.A. Gerit Freericks