Memory

The default memory configuration (max) for the sedex Client processes is:

  • sedex Controller 256 MB
  • sedex Adapter 256 MB
  • sedex WsProxy 256 MB

The default memory configuration works fine for most situations and does not have to be changed. But in case of specific requirements the memory configuration can be adapted. The following describes how this can be done.

The location where the memory configuration needs to be changed depends on the sedex Client’s startup mode.

Memory configuration for a sedex Client started in standalone mode:

  • In the start script Windows:

    <sedex_home>/bin/sedex-client-start.bat

  • In the start script Unix:

    <sedex_home>/bin/sedex-client-start.sh

  • Line to be changed in the start script (for controller, adapter, wsproxy):

    set MEMORY=-Xmx256m -Dadapter.Xmx256m -Dwsproxy.Xmx256m

Memory configuration for a sedex Client started as a service/daemon:

  • Configuration file:

    <sedex_home>/service-wrapper/conf/service-wrapper.properties

  • Configuration value for sedex Controller:

    wrapper.java.additional.8=-Xmx256m

  • Configuration value for sedex Adapter:

    wrapper.java.additional.9=-Dadapter.Xmx256m

  • Configuration value for sedex Web Service Proxy:

    wrapper.java.additional.10=-Dwsproxy.Xmx256m