cancel
Showing results for 
Search instead for 
Did you mean: 

abap/heap_area_total

Former Member
0 Kudos

Hi,

While running a job it fails with the below error

======================================================================

A Tue Mar 11 10:01:15 2008

A WP has reached abap/heaplimit = 40000000 bytes

A

A Tue Mar 11 10:05:40 2008

A *** ERROR => User 104418 reached avail. heapsize = 1905 MB: see ST22 [abstor.c 1681]

A *** ERROR => Increase abap/heap_area_total [abstor.c 1682]

A *** ERROR => heap memory WP0: 1905 MB [abstor.c 1686]

========================================================================

What is the best option to avoid this error?, changing the parameter values(should not cause page in/out which results in perfomance)?

Currently i have the following values set

============================

abap/heap_area_dia 2000000000

abap/heap_area_nondia 2000000000

abap/heap_area_total 2000000000

abap/heaplimit 40000000

============================

Regards,

Sam

Accepted Solutions (1)

Accepted Solutions (1)

former_member185954
Active Contributor
0 Kudos

Hello Cheriyan,

I would recommend tuning the affected program instead alongwith memory tuning. Normally on AIX, we keep more extended memory and lesser heap memory.

Also considering you have 64-Bit AIX.

If you keep extended memory sufficiently large, dialog process do not go into PRIV mode easily and avoid using the heap.

Also accessing extended memory is faster for programs cause it uses memory pointer switching.

Please check the following SAP Note:

Note 191801 - AIX 64-bit with very large amount of Extended Memory

Regards,]

Siddhesh

Answers (1)

Answers (1)

vincentlim826
Employee
Employee
0 Kudos

Are you in 64 bits environment ?

If so, you can consider increase your extended memory in user context, i.e ztta/roll_extension to be > than 2GB, let say 4GB

, and also abap/heap_area_total.

ztta/roll_extension = 4000000000

abap/heap_area_total = 4000000000

What is your OS ? AIX ? There are few couple for SAP Notes to memory managements.

cheers,

Vincent

Former Member
0 Kudos

Thanks for the reply,

Yes its 64bit env & its AIX 5.2.

can i increase abap/heap_area_total = 4000000000 without increasing ztta/roll_extension?

vincentlim826
Employee
Employee
0 Kudos

It is better to increase both, so that the system will utilize the extended memory first, before the utilizing the heap area.

Otherwise, if heap area used up, work process will go into PRIV mode.