LHEAP parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
Line 11: Line 11:
<dd>All
<dd>All
<dt>Introduced
<dt>Introduced
<dd><var class="product">Model 204 V6.1</var> or earlier
<dd><var class="product">Model 204 V3.1</var>  
</dl>
</dl>
==Description==
==Description==
<p>The size of the HEAP storage area </p>
<p>
<p>HEAP is a dynamic storage area included in the variable portion of the server area and required for the processing of SQL C routines. The size of HEAP is specified with the LHEAP parameter and is added to the variable size calculation of the server area. </p>
<var>LHEAP</var> specifies the size of the HEAP storage area. </p>
<p>The initial value for SQL threads varies, based on your application requirements. Specify the initial value on the first IODEV line for IODEV=19. Do not specify it with the User 0 parameters, because this wastes space. For non-SQL threads, which do not require HEAP space, LHEAP can default to zero. </p>
<p>
<p>The LHEAP maximum is 2 million.</p>
HEAP is a dynamic storage area included in the variable portion of the server area and required for the processing of SQL C routines. The size of HEAP is specified with the <var>LHEAP</var> parameter, and it is added to the variable size calculation of the server area. </p>
<p>
The initial value for SQL threads varies, based on your application requirements. Specify the initial value on the first <var>[[IODEV_parameter|IODEV]]</var> line for IODEV=19. Do not specify it with the User 0 parameters, because this wastes space. For non-SQL threads, which do not require HEAP space, <var>LHEAP</var> can default to zero. </p>
<p>
The <var>LHEAP</var> maximum is 2 million.</p>
 
====Handling SQL statements greater than 32k bytes====
====Handling SQL statements greater than 32k bytes====
<p>When handling an SQL statement that is greater than 32K, you must consider the LHEAP parameter. If its value is not large enough, the error message invoked includes the name of the relevant parameter. Rocket Software recommends setting LHEAP=200000 to handle SQL statements.</p>
<p>
When handling an SQL statement that is greater than 32K bytes, you must consider the <var>LHEAP</var> parameter. If its value is not large enough, the error message invoked includes the name of the relevant parameter. Setting <code>LHEAP=200000</code> is recommended for handling larger SQL statements.</p>
 
[[Category:Utable parameters]]
[[Category:Utable parameters]]
[[Category:Parameters]]
[[Category:Parameters]]

Latest revision as of 23:49, 2 December 2014

Length of heap

Summary

Default value
0
Parameter type
Utable
Where set
On user's parameter line
Related products
All
Introduced
Model 204 V3.1

Description

LHEAP specifies the size of the HEAP storage area.

HEAP is a dynamic storage area included in the variable portion of the server area and required for the processing of SQL C routines. The size of HEAP is specified with the LHEAP parameter, and it is added to the variable size calculation of the server area.

The initial value for SQL threads varies, based on your application requirements. Specify the initial value on the first IODEV line for IODEV=19. Do not specify it with the User 0 parameters, because this wastes space. For non-SQL threads, which do not require HEAP space, LHEAP can default to zero.

The LHEAP maximum is 2 million.

Handling SQL statements greater than 32k bytes

When handling an SQL statement that is greater than 32K bytes, you must consider the LHEAP parameter. If its value is not large enough, the error message invoked includes the name of the relevant parameter. Setting LHEAP=200000 is recommended for handling larger SQL statements.