- changed status to resolved
Memory leak
Issue #1
resolved
Hi,
I experimenting with Factory-registrations. But I get "Unexpected Memory leak". I minimized the source code to the following Skeleton.
Comments (1)
-
repo owner - Log in to comment
Thanks for your report.
The memory leak is caused by your code in the initialization part of the MES4F.DSBOProxy.MaterialMaster unit. Please move that code into a routine which you can call in the initialization part.
Also please consider the best practices to not put registration code into the initialization part of units.
For reference: this entry