Memory configuration

Hi guys,

Yesterday my EventStore ran out of memory as I was doing benchmarks. I
looked at the docs, and there seem to be 2 settings relevant to
memory:
* CachedChunks
* ChunksCacheSize

The descriptions are fairly short though. Can anyone expand on what
these do, and what the tradeoffs are in having them high/low? Also, is
this it, or are there other relevant settings as well?

thanks, Rickard

What is your config/environment? Both of those settings control off heap memory.

How did you determine out of memory?

Greg

Hey!

What is your config/environment? Both of those settings control off heap memory.

Right now I have no settings for memory, just defaults. So that's like
500MB of off-heap, according to docs.

How did you determine out of memory?

Error log has tons and tons of this:
[PID:10331:020 2016.01.05 11:32:16.774 DEBUG MonitoringService ]
Could not get free mem on linux, received memory info raw string: []
System.ComponentModel.Win32Exception: ApplicationName='free',
CommandLine='-b', CurrentDirectory='', Native error= Out of memory
  at System.Diagnostics.Process.Start_noshell
(System.Diagnostics.ProcessStartInfo startInfo,
System.Diagnostics.Process process) [0x00000] in <filename unknown>:0
  at System.Diagnostics.Process.Start_common
(System.Diagnostics.ProcessStartInfo startInfo,
System.Diagnostics.Process process) [0x00000] in <filename unknown>:0
  at System.Diagnostics.Process.Start
(System.Diagnostics.ProcessStartInfo startInfo) [0x00000] in <filename

:0

  at EventStore.Common.Utils.ShellExecutor.GetOutput (System.String
command, System.String args) [0x00000] in <filename unknown>:0
  at EventStore.Core.Services.Monitoring.SystemStatsHelper.GetFreeMemOnLinux
() [0x00000] in <filename unknown>:0

Do I have to set both off heap and Mono VM sizes? The config seems to
only have off heap settings.

regards, Rickard

This is executing a command line and getting an error not ES itself