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?