cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Errors TSV_TNEW_PAGE_ALLOC_FAILED

Former Member
0 Kudos

Dear all,

We have ECC 6.0 PRD system running on AIX/Oracle 10 platform with 16GB physical memory.

We have run Stock Report J_3RMOBVED which runs on monthly basis and extracts data for Store Report ib background job.

Currentlt this job is failing due to below mentioned dump

Runtime Error TSV_TNEW_PAGE_ALLOC_FAILED

My Memory Parameter is

zcsa/table_buffer_area 100000000

rtbb/buffer_length 40000

rsdb/cua/buffersize 17000

zcsa/presentation_buffer_area 15000000

abap/heap_area_dia 2000000000

abap/heap_area_nondia 2000000000

abap/heap_area_total 2000000000

abap/heaplimit 40000000

Now How can i solved this problen

Nainesh

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Problems like this are solved by using the search function.

The dump means you tried to use to much memory. This us usually a program/user error (to much data selected).

But everyone will tell you to increase memory parameters.

Cheers Michael

Former Member
0 Kudos

Dear Friend

It A Sap Stander Stock Rusia Report , This report run in past very good but from the last month this error show after some time of

job start so if any memory parameter change please guide me

Nainesh

nicholas_chang
Active Contributor
0 Kudos

Hi ncsuthar,

Is there any changes in the program, system lately?

Could you please paste the memory dump here.

Also, how much memory you've set for em/initial_size_MB and em/total_size_MB? Besides that, could you please check ST02 -> double click on SAP memory section -> check the history usage for EM and heap.

Thanks,

Nicholas Chang

Former Member
0 Kudos

Dear Fried Now i pest some part of ST22 Dump because it not more then 15000 char

Runtime Errors TSV_TNEW_PAGE_ALLOC_FAILED

What happened?

You attempted to extend an internal table, but the required space was

not available.

-


-


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.

Try to find out (e.g. by targetted data selection) whether the

transaction will run with less main memory.

If there is a temporary bottleneck, execute the transaction again.

-

If the error persists, ask your system administrator to check the

following profile parameters:

o ztta/roll_area (1.000.000 - 15.000.000)

Classic roll area per user and internal mode

usual amount of roll area per user and internal mode

o ztta/roll_extension (10.000.000 - 500.000.000)

Amount of memory per user in extended memory (EM)

o abap/heap_area_total (100.000.000 - 1.500.000.000)

Amount of memory (malloc) for all users of an application

server. If several background processes are running on

one server, temporary bottlenecks may occur.

Of course, the amount of memory (in bytes) must also be

available on the machine (main memory or file system swap).

Caution:

The operating system must be set up so that there is also

enough memory for each process. Usually, the maximum address

space is too small.

Ask your hardware manufacturer or your competence center

about this.

In this case, consult your hardware vendor

abap/heap_area_dia: (10.000.000 - 1.000.000.000)

Restriction of memory allocated to the heap with malloc

for each dialog process.

Parameters for background processes:

abap/heap_area_nondia: (10.000.000 - 1.000.000.000)

Restriction of memory allocated to the heap with malloc

for each background process.

Other memory-relevant parameters are:

em/initial_size_MB: (35-1200)

Extended memory area from which all users of an

application server can satisfy their memory requirement.

-


-


Error analysis

The internal table "\PROGRAM=J_3RMOBVED\FORM=REVERSAL_INVOICE_PROCESSING\DATA=L

T_IND4_LISTMAT" could not be further extended. To enable

error handling, the table had to be delete before this log was written.

As a result, the table is displayed further down or, if you branch to

the ABAP Debugger, with 0 rows.

At the time of the termination, the following data was determined for

the relevant internal table:

Memory location: "Session memory"

Row width: 698

Number of rows: 0

Allocated rows: 7

Newly requested rows: 649328 (in 40583 blocks)

-


-


How to correct the error

The amount of storage space (in bytes) filled at termination time was:

Roll area...................... 2713824

Extended memory (EM)........... 2002747344

Assigned memory (HEAP)......... 1444400016

Short area..................... " "

Paging area.................... 32768

Maximum address space.......... 4294967295

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:

"TSV_TNEW_PAGE_ALLOC_FAILED" " "

"J_3RMOBVED" or "J_3RMOBVEDF11"

"REVERSAL_INVOICE_PROCESSING"

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)

To save the description, choose "System->List->Save->Local File

(Unconverted)".

2. Corresponding system log

Display the system log by calling transaction SM21.

Restrict the time interval to 10 minutes before and five minutes

after the short dump. Then choose "System->List->Save->Local File

(Unconverted)".

3. If the problem occurs in a problem of your own or a modified SAP

program: The source code of the program

In the editor, choose "Utilities->More

Utilities->Upload/Download->Download".

4. Details about the conditions under which the error occurred or which

actions and input led to the error.

System environment

SAP-Release 700

Application server... "sapprodail"

Network address...... "172.17.13.5"

Operating system..... "AIX"

Release.............. "5.3"

Hardware type........ "00014A2AD400"

Character length.... 16 Bits

Pointer length....... 64 Bits

Work process number.. 8

Shortdump setting.... "full"

Database server... "sapprodail"

Database type..... "ORACLE"

Database name..... "ARP"

Database user ID.. "SAPSR3"

Terminal................. " "

Char.set.... "C"

SAP kernel....... 700

created (date)... "Dec 14 2009 20:52:08"

create on........ "AIX 2 5 005DD9CD4C00"

Database version. "OCI_102 (10.2.0.2.0) "

Patch level. 236

Patch text.. " "

Database............. "ORACLE 10.1.0.., ORACLE 10.2.0.., ORACLE 11.2...*"

SAP database version. 700

Operating system..... "AIX 1 5, AIX 2 5, AIX 3 5, AIX 1 6"

Memory consumption

Roll.... 2713824

EM...... 2002747344

Heap.... 1444400016

Page.... 32768

MM Used. 3317241496

MM Free. 128921296

-


Nainesh

nicholas_chang
Active Contributor
0 Kudos

Hi,

Could you please check the value for below parameter:

em/initial_size_MB

em/total_size_MB

And what's physical memory available on your system?

Thanks,

Nicholas Chang

Former Member
0 Kudos

I thought we have 16gb physical memory.

While you are negotiating about what parameters to increase (hint abap/heap_area_nondia, abap/heap_area_total) you might have a look at note [1557283 - J_3RMOBVED: Memory Consumption|https://service.sap.com/sap/support/notes/1557283]

Contains a correction you might need and some advice on reducing the data.

Cheers Michael

Edit: the relevant section in the short dump is here:

The amount of storage space (in bytes) filled at termination time was:

Roll area...................... 2713824

Extended memory (EM)........... 2002747344

Assigned memory (HEAP)......... 1444400016

Saying that the batch job got ~1.4gb from heap and 2gb from extended memory, resulting in a total of 3.4gb.

former_member188883
Active Contributor
0 Kudos

Hi ,

You need to increase the value of heap memory. Check with the following updated values

abap/heap_area_dia 6000000000

abap/heap_area_nondia 2000000000

abap/heap_area_total 8000000000

Regards,

Deepak Kori

Former Member
0 Kudos

dera Friend

em/initial_size_MB 4092 and em/total_size_MB not found in RZ11 and my total memory is 16gm

Nainesh

Former Member
0 Kudos

Dear Friend

App.Server Buffer Name

Date EM allocat EM used EM avail. Heap used Heap tot. Analy.Time

sapbkpail_ARP_01 Extended and heap memory (MEM)

Fri 30.12.2011 139,264 2,097,152 4,186,112 923,919 1,953,072 14:09:00

Thu 29.12.2011 118,784 2,097,152 4,186,112 1,055 1,953,072 23:08:58

Wed 28.12.2011 118,784 307,200 4,186,112 686,396 726,077 23:08:58

Tue 27.12.2011 118,784 483,328 4,186,112 195 402,715 23:09:34

Mon 26.12.2011 118,784 483,328 4,186,112 97 402,715 23:09:33

Sun 25.12.2011 118,784 483,328 4,186,112 97 402,715 23:09:31

Sat 24.12.2011 118,784 483,328 4,186,112 97 402,715 23:09:30

Fri 23.12.2011 118,784 483,328 4,186,112 97 402,715 23:09:29

Thu 22.12.2011 118,784 483,328 4,186,112 97 402,715 23:09:28

Wed 21.12.2011 118,784 483,328 4,186,112 97 402,715 23:09:28

Tue 20.12.2011 118,784 483,328 4,186,112 97 402,715 23:09:26

Mon 19.12.2011 118,784 483,328 4,186,112 97 402,715 23:09:25

Average 120,491 737,621 4,186,112 134,362 688,055

Nainesh

former_member188883
Active Contributor
0 Kudos

Hi,

Can you retry the operations with below mentioned values

abap/heap_area_dia 6000000000

abap/heap_area_nondia 2000000000

abap/heap_area_total 8000000000

Regards,

Deepak Kori

Former Member
0 Kudos

Dear Depak

Currently my report in backgroud job after i update sapnote: 1557283 if any probelm then i update this parameater if possible please give me how define memory paramere if my ram is 16gb on aix/oracle with 100 user and my database size is 200 gb please guide me

with for replay

Nainesh

former_member188883
Active Contributor
0 Kudos

Hi Nainesh,

For your background processing set the parameters as follows

abap/heap_area_dia 2000000000

abap/heap_area_nondia 6000000000

abap/heap_area_total 8000000000

Regards,

Deepak Kori

nicholas_chang
Active Contributor
0 Kudos

Hi Nainesh,

before you adjust the memory parameter suggested, i would advise you to look for related note in term of performance, correct in SMP for your program. As you said, the program was running fine earlier, perhaps you can check is there any changes make, eg: program, Index and etc, or how big the records/table has growth. Also, is the table fragmented? Is statistic updated on the table?

Thanks,

Nicholas Chang

Former Member
0 Kudos

Dear Friend

After Update Parameter there will no change in proformance of report

Nainesh

Former Member
0 Kudos

Dear Nicholas Chang

After Update Patch My Job Run Secusfulle because in patch sapkh60019 genereate bug in j3rmobved program and sapnote 1557283 currret it or update patch sapkh60020 for remove bug

Nainesh