Memory usage of UMDF2 Serial Driver

I have a UMDF2 Serial Driver based communication system and after 24 hours of data communication the system memory increased from 4GB to 7GB.
It don’t have any memory leakage in read/write part in driver. For read handler, it just fill IO read request packet with data. In write handler, it get data from IO write packet and write to underlying channel.

When looked into the memory usage of host process, it is found that its increased to 1.4/1.7MB and drop to 0.4MB after sometimes.
May i know why this fluctuation in memory of host process?

Does the memory foot print shows the combined memory usage of device drivers and its underlying systems (e.g. reflector etc)?

Does the memory foot print shows the combined memory usage of device drivers and its underlying systems (e.g. reflector etc)?

No.

May i know why this fluctuation in memory of host process?

I’m guessing, since I’m not looking at your system, but it SOUNDS like working set trimming.

Still… you said there’s a 3 GB gain… I’m not sure worrying about a 1 MB growth is looking in the right direction.

Peter

1 Like

Thanks for the comments. It was really helpful in fixing the issue. Thanks!