EWF RAM reg memory usage

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I have a system config as EWF RAM reg with CF as storage device. The
Application is a kiosk terminal, therefore there will be a lot of file
downloading, and when user exit the session, all file downloaded and temp.
file will be removed. However the memory usage is still keep increasing. Is
there a way to recycle back those memory, since those file is being removed,
other than to do a reboot.

thanks.
 
Netpwm,

To minimize EWF RAM Reg usage in general please refer to this tip page:
http://msdn.microsoft.com/embedded/community/community/tips/xp/ramewf/default.aspx.

With regards to the IE cache.. One of the approaches that may work for you could be in creating a ram disk (search MSDN for sample
ram disk sources), change IE Cache settings to move the cache to the ram disk
([HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders],"Cache","History","Cookies") and set the CacheLimit
settings for Content/History/Cookies parts of the cache under [HKCU\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\Cache] key.

This way you don't even have to worry about cleaning up the cache on reboot.

Read more about the reg.settings of IE cache (WinInet actually) here:
http://msdn.microsoft.com/library/d...us/wcewinet/html/coconwininetregistrykeys.asp


Also please be aware that IE cache implementation on all Windows platforms has currently a few bugs related to the size. E.g., there
may appear some orphan entries in the cache that will not be included in the Cache size calculations. Therefore the CacheLimit
values may not work properly sometimes.
However, with the RAM disk limit you shouldn't be worried about it much.


Another approach would be to have an app running and monitoring the IE cache size and EWF RAM usage.

=========
Regards,
KM
 
Back
Top