Please enable JavaScript to view this site.

ESL Documentation

Navigation: » No topics above this level «

Q1  What are the basics of Memory Management?

Scroll Prev Top Next More

The following document contains a considerable amount of technical information on how an ESL developer can set, track and make efficient use of memory. Unless your applications are running out of memory, or you have a very restricted memory within the workstations, it is recommended that you leave the following settings to there default values:

Setting Name

Default Value

Command Line Option

Purpose

Comment

PRGSIZE

512KB

-m

Sets the initial size of the main memory pool used by the ESL application

Not implemented before version 5.46

PRGMAX

32MB

Not Available

Sets the maximum available to the main memory pool.

An error will occur if your application attempts to exceed this value and the application will be terminated. If less than PRGSIZE, then the value for PRGSIZE will be used.

MEMINCR

64KB

Not Available

The amount of additional memory added each time ESL needs to obtain more memory from the operating system.

Prior to version 5.46 this was also the setting for the initial memory pool size.

GLBSIZE

128KB

-g

Sets the initial size of the shared memory pool used by all ESL application that are “chained” together using the “change to program” statement.

Not implemented before version 5.46

GLBMAX

32MB

Not Available

Sets the maximum available to the shared memory pool.

An error will occur if your application attempts to exceed this value and the application will be terminated. If less than GLBSIZE, then the value for GLBSIZE will be used.