Please help with the following scenario in a WinCE 5.0 device
I am using registry dword's to store some 30 values.
These registry values are getting updated every minute (no new key creation, its just updation).
Now I use the following API to get the bytes available
public static extern bool GetDiskFreeSpaceEx(string lpDirectoryName, out ulong lpFreeBytesAvailable, out ulong lpTotalNumberOfBytes, out ulong lpTotalNumberOfFreeBytes);
The findings are that after doing the keys updation for around 77K times, I lose some 23 KB of memory (total number of free bytes is 23 KB less).
Even after restarting the device, I am seeing that those 23 KB are not retained (They are lost).
Please help with the following questions
=> What is the reason of depleted SRAM
=> How to reclaim this lost memory.