HyperWorks Desktop

*SetPreloadMaximum()

Specifies the maximum file size for loading the entire plot file into memory.

*SetPreloadMaximum()

Specifies the maximum file size for loading the entire plot file into memory.

Previous topic Next topic No expanding text in this topic  

*SetPreloadMaximum()

Specifies the maximum file size for loading the entire plot file into memory.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*SetPreloadMaximum(size)

Argument

Name

Description

 

size

The file size in bytes. Specifying a size of zero disables this command.  Smaller values sacrifice performance for memory and larger values sacrifice memory for performance.  Files smaller than the specified size will be loaded into memory entirely.  When plotting from memory, curves are generated faster because the data does not have to be read from the disk or from across a network.  Files larger than the specified size will conserve memory by loading only the selected items from the Request list into memory.  This is done at the cost of a delay between hitting the Apply button in the Build Plots panel and the time the data is plotted.

Example

*BeginDefaults()

   *BeginPlotDefaults()

    *SetPreloadMaximum(20000000)

   *EndPlotDefaults()

*EndDefaults()

Application

HyperGraph and HyperGraph 3D.

Comments

This statement is available under the *BeginPlotDefaults() block.

In the installation, it is located in
<install_directory>/hw/prefinc/preferences_common_plot.mvw

See also

 

List of Preference Statements