Low Power Systems

This is an advanced subject that beginners only need to bother with if on a system with very low resources and if the system feels very sluggish. The background is that OpenCPN quite aggressively uses memory to speed up the application, this can backfire in certain situations....

There is a simple memory management scheme, for use with systems that has limited resources.
Two modes are available, only one of which can be active at any given time. The mode must be specified in the "opencpn.conf" file, called "opencpn.ini" in Windows.

1. Application memory limit target. Try to limit the total memory used by OCPN to the specified value, approximately.
Specify this mode by:
......
[Settings]
MEMCacheLimit=xxx
......
Where xxx is memory use target in Mbytes. Overrides NCacheLimit below.

2. Open chart limit. This is the default mode under Linux, and the default value is 20 open charts at any one time.

Modify this limit by the following:
......
[Settings]
NCacheLimit=yy
......
Where yy is the maximum number of simultaneously open charts.

If you do not enter any memory management specification in the config file, the following defaults apply:

a. Linux... behavior is the same as previous versions, Open chart limit is 20 charts.
b. Windows...Application memory limit target is used. Target limit is 50% of available physical RAM.