You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Optimising the performance

The default settings of the Delft-FEWS program are tuned for forecasting systems. These systems generally do not have a huge amount of data and table records. However, historical databases might have millions of table records, which may slow down the performance at the user interface and also the forecasting shell servers.

It is possible to change the default memory settings and to increase the performance.

Changes to *.jpif

The user interface is started by using a jpif file, that contains the JAVA settings. This file looks like:

 
..\jre
-mx512m
-cp
$JARS_PATH$
nl.wldelft.fews.gui.explorer.Application
WIS_Dommel_OC

The second line contains the definition for the maximum allocated memory, in this case 512 MB. This value can simply be changed to allow for more allocated memory.
To analyse the currently used amount of memory in the user interface, you can open the About box from the Help menu. There you see the next window:

 

In this case the allocated memory for the map is already huge. Therefore it might be useful to increase the allocated memory in the jpif.

Changes to global.properties

To increase the performance of handling time series (e.g. in graphs or spatial display) you can increase the default allocated memory for caching time series.
Therefor you should add the next line to the global.properties.

timeSeriesDefaultCacheSizeMB=100

In this example 100 MB is allocated. The default value is only 10 MB.

You can also increase the allocated memory for time series that are created during task runs (at a forecasting shell). Therefor you should add the next line to the global.properties.

timeSeriesTaskRunCacheSizeMB=100

In this example 100 MB is allocated. The default value is only 10 MB.

Notice that these changes might require additional allocated memory in the jpif of service that handles the FSS.

  • No labels