Sun Java System Directory Server Enterprise Edition 6.0 Administration Guide

ProcedureTo Configure Heap Memory Threshold

If you want to limit the amount of heap memory used by the nsslapd process, you can set threshold values for the dynamic memory footprint. You might set this threshold when Directory Server is running on a machine where resources are shared or sparse.


Note –

This threshold can only be set on SolarisTM and Linux platforms.


For information about memory sizing, see Directory Server and Memory in Sun Java System Directory Server Enterprise Edition 6.0 Deployment Planning Guide.

You cannot use DSCC to perform this task. Use the command line, as described in this procedure.

  1. Set the maximum heap high memory threshold.


    $ dsconf set-server-prop -h host -p port heap-high-threshold-size:value
    

    For recommendations on the values to use for ds-maxheap-high , see the ds-maxheaphigh(5dsconf) man page.

  2. Optionally, set the maximum heap low memory threshold .


    $ dsconf set-server-prop -h host -p port heap-low-threshold-size:value
    

    For recommendations on the values to use for ds-maxheap-low , see the ds-maxheaphigh(5dsconf) man page, which contains recommendations for both ds-maxheap-high and ds-maxheap-low.