death2spam

Administration of a D2S Gateway Server

Enterprise Edition  >  SMTP Gateway Server  >  Administration

Memory Management

Memory Requirements

Java applications such as D2S place special demands on your operating system's virtual memory hardware. Incorrect tuning of memory can result in noticeable pauses in the operation of Death2Spam as the application is swapped into RAM. For this reason it is important to limit the amount of memory available to D2S to less than the amount of real RAM available on the machine.

Java's RAM requirements can be tuned by altering the following settings in the wrapper.config file:

wrapper.java.initmemory Defines the initial amount of memory (in Mbytes) allocated to the java process. This number must be less than or the same as wrapper.java.maxmemory. D2S recommends that this number be the same as wrapper.java.maxmemory.
wrapper.java.maxmemory Defines the maximum amount of memory (in Mbytes) allocated to the java process. This number should be sufficiently high that the entire application (including data) can be fit into physical RAM, after allowing room for the operating system and other running applications. D2S recommend that this number be about 65% of the physical RAM size.