cancel
Showing results for 
Search instead for 
Did you mean: 

ST22 : ABAP Dump "EXSORT_NOT_ENOUGH_MEMORY"

Former Member
0 Kudos

Hi All,

My Application Team is trying to import some customizing settings into ECC from CRM, while importing they are getting the following Dump "EXSORT_NOT_ENOUGH_MEMORY" in ECC system and in CRM SMQ1 (Out Bound Queues) we are getting "Internal error" with (sysfail) "Too little memory for the sort".

System Details AIX 64 bit, and Kernel 720 Patch 401.

Please help me in fixing the Dump.

Runtime Errors     EXSORT_NOT_ENOUGH_MEMORY
Date and Time      2013.11.20 17:00:08

Short text


Internal error: Too little memory for the external sort

What happened?


Error in the SAP kernel.

The current ABAP "SAPLCRMD" program had to be terminated because the

ABAP processor detected an internal system error.

What can you do?


Note which actions and input led to the error.

For further help in handling the problem, contact your SAP administrator

You can use the ABAP dump analysis transaction ST22 to view and manage

termination messages, in particular for long term reference.

Error analysis


The running ABAP program wanted to sort a dataset (internal table or

extract). For reasons of capacity, it was not possible to sort the

dataset in available main memory. The external sort was therefore called

. The following error occurred when doing so:

SAP runtime system internal error.

How to correct the error


Try to decide by analysis whether this request is

reasonable or whether there is a program error. You should pay

particular attention to the internal table entries listed below.

If the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following

keywords:

"EXSORT_NOT_ENOUGH_MEMORY" " "

"SAPLCRMD" or "LCRMDF0L"

"LINK_TABLES_SELECT"

If you cannot solve the problem yourself and want to send an error

notification to SAP, include the following information:

1. The description of the current problem (short dump)

Memory Settings in ECC system

Roll, extended and heap memory EXTM

ztta/roll_area    3000000Byte Roll area per workprocess (total)
ztta/roll_first   1      Byte First amount of roll area used in a dialog WP
ztta/short_area   3200000Byte Short area per workprocess
rdisp/ROLL_SHM    98304  8 kB Part of roll file in shared memory
rdisp/PG_SHM      8192   8 kB Part of paging file in shared memory
rdisp/PG_LOCAL    150    8 kB Paging buffer per workprocess
em/initial_size_MB4092   MB   Initial size of extended memory
em/blocksize_KB   4096   kB   Size of one extended memory block
em/address_space_MB   4092   MB   Address space reserved for ext. mem. (NT only)

ztta/roll_extension   2000000000 Byte Max. extended mem. per session (external mode)

abap/heap_area_dia2000000000 Byte Max. heap memory for dialog workprocesses

abap/heap_area_nondia 2000000000 Byte Max. heap memory for non-dialog workprocesses

abap/heap_area_total  2000000000 Byte Max. usable heap memory

abap/heaplimit    40000000   Byte Workprocess restart limit of heap memory
abap/use_paging   0           Paging for flat tables used (1) or not (0)

Memory

Physical mem avail  Kb            33554432 Physical mem free   Kb            19686148

Pages in/s                               0 Kb paged in/s                            0

Pages out/s                              0 Kb paged out/s                           0

 

Pool

Configured swap     Kb            20971520 Maximum swap-space  Kb            20971520

Free in swap-space  Kb            20918704 Actual swap-space   Kb            20971520

Thanks and Regards

Vijay

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Start with SAP Note 1147109 - Heap memory shortage.

Former Member
0 Kudos

The cause of the error.

EXSORT_NOT_ENOUGH_MEMORY

Check your memory parameters or operating system settings concerning the heap memory.

The sort allocates heap memory (8 MB or more) directly from the operating system, and bypasses the normal SAP Memory Management, which means that bottlenecks may occur if, for example, background jobs already require the entire heap memory.

To provide HEAP memory for the SORT, it is mostly sufficient to reduce abap/heap_area_nondia.

This means that batch jobs switch earlier from the heap to the extended memory and, therefore, there is heap memory left over for the SORT.

Thanks

Rishi Abrol