Ask the Expert

How does an SAP process access memory?

What are the baselines for performance tuning and what are the parameters that we can change to avoid a dump? I have dump like this:
storageparameters_wrong_set
It asks me to set the following parameters at the system profile parameters:
abap/heap_area_dia abap/heap_area_nondia o a maximum of 275139872
Then I am asked to reduce the value by 10.000.000 to be on the safe side.

How do I calculate the exact value for those parameters?

    Requires Free Membership to View

That is not an easy question to answer. It all depends on the transaction or report causing the dump. Is the dump occurring in the background or foreground?

Basically an SAP process accesses memory in the following way:

• In dialog processes (Process type DIA)
1. The first section of the roll area up to parameter ztta/roll_first - then -
2. Extended memory up to parameter ztta/roll_extension -or- extended memory (size: em/initial_size_MB) is exhausted - then -
3. The rest of the roll area (size: ztta/roll_area) - then -
4. Process local memory up to parameter abap/heap_area_dia -or- operating system swap space is exhausted -or- the process's data segment size is exceeded -or- the process's address space is exceeded -or- the operating system's address space is exceeded.

NOTE: Under Windows NT the allocation sequence of non-dialog work processes is the same as with a dialog work process.

• In non-dialog Processes (Process type VB, UP, BTC)
1. The total roll area (size: ztta/roll_area) - then -
2. Process local memory up to parameter abap/heap_area_nondia -or- operating system swap space is exhausted -or- the process's data segment size is exceeded -or- the process's address space is exceeded -or- the operating system's address space is exceeded. - then -
3. Extended memory up to parameter ztta/roll_extension -or- extended memory (size: em/initial_size_MB) is exhausted.

The ABAP dump shows the sequence in which the report tried to allocate memory. Try to increase the memory parameters accordingly.

This was first published in May 2005

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: