nservicebus - Particular ServiceControl : Where to put RavenDB Configuration options? -


i'm confused ravendb configuration options such raven/memorycachelimitmegabytes or raven/esent/cachesizemax should placed when running particular servicecontrol embedded ravendb. want limit memory consumption ravendb play nice other applications running on server.

per ravendb configuration options webpage here. talks using raven.server.exe.config file, doesn't appear exist. neither raven.server.exe.

the other file looks may used in place servicecontrol.exe.config used configure servicecontrol. correct file add ravendb configuration options to? particular documentation doesn't go detail should entered on page here.

full path: c:\program files (x86)\particular software\particular.servicecontrol\servicecontrol.exe.config

thanks!

is correct file add ravendb configuration options to?

yes.

ravendb used servicecontrol embedded ravendb, not standalone server. therefore settings ravendb need provided via servicecontrol.exe.config , not raven.server.exe.config.

for example, provide esent maximum cache size, you'd need add servicecontrol.exe.config file under appsettings new entry key raven/esent/cachesizemax , value wish set. example:

<?xml version="1.0" encoding="utf-8"?>   <configuration>     <appsettings>        <add key="raven/esent/cachesizemax" value="512" /> 

Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -