Memory Usage Problems - Mapped File

Morning All,

I am running into a problem while using event store where a large amount of memory is being taken up by a memory mapped file. When I restart EventStore the memory is returned. We run a scheduled task once every evening to scavange events. The problem seems to appear once that happens. See screen shot of ram map trace.

Any idea why this may be happening?

Thanks,

Capture.PNG

Capture2.PNG

Ram map screenshot after restart

Capture3.PNG

Sorry, running EventStore version 3.0.5 on windows server 2012 R2

This is windows file caching. By default it uses all available memory
on the machine. You can however change the configuration (there are
threads on the list with more detail) you can use tools such as
cacheset https://technet.microsoft.com/en-us/sysinternals/bb897561.aspx
to limit the amount of cache windows should use.