StoragePageSize

Description

The default page size for DataWindow storage.

Applies to

DataWindows

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.StoragePageSize

Describe and Modify argument:

"DataWindow.StoragePageSize { = ' size ' }"

Parameter

Description

size

Two values are provided to enable the DataWindow to use the available virtual memory most efficiently in the current environment:

  • LARGE (Recommended)

  • MEDIUM

Usage

Set this property to avoid out of memory errors when performing large retrieve, import, or RowsCopy operations. The property must be set before the operation is invoked.

Examples

Example 1

dw1.Modify("datawindow.storagepagesize='LARGE'")

dw1.object.datawindow.storagepagesize='large'