i used "GXDLMSDirector.exe version 8.2.2109.0301" and "dlms c library" for stm micro controler,
i am monitoring heap memory,
first connect to micro and software ask "you need to read Association ..?" and i am click "yes",
software read my objects and show in GXDLMSDirector.exe at this time heap used 2572 byte,
i disconnected and delete all object in software list left side and connect again,
again to connect software ask "you need to read Association ..?" and i am click "yes",
I expect library c free old heap 2572 bytes and again get new heap or use the old memory that was taken for the first time,
but get new heap again and again and It does not release the old heap memory,
Hi Mahsen,
Un-comment DLMS_IGNORE_MALLOC from gxignore.h. Check GuruxDLMSSimpleServerExample2 and GuruxDLMSServerExample2 to see how to use them without malloc.
Hi,
Hi,
I believe that you are using malloc? I haven't heard from this, but I'll check this because usually meter implementations are not using malloc.
BR,
Mikko
Hi
Hi
Yes, I used malloc in meter's, do you have a solution for me not to use malloc?
Mahsen,
Hi Mahsen,
Hi Mahsen,
Un-comment DLMS_IGNORE_MALLOC from gxignore.h. Check GuruxDLMSSimpleServerExample2 and GuruxDLMSServerExample2 to see how to use them without malloc.
BR,
Mikko
Hi, Thank you. Mahsen
Hi,
Thank you.
Mahsen