Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

TSV_TNEW_PAGE_ALLOC_FAILED

Former Member
0 Likes
1,392

Hi,

I am getting short dump everytime our users try to do some reporting.

<b>Message from ST22:</b>

Error analysis

The internal table "IT_0" could not be enlarged further. To allow

error handling, the table had to be deleted before this log was

created. So, if you branch to the ABAP debugger from the display

of this log, the table will there be displayed with 0 rows.

At the moment of the termination, the following data was

determined for the respective internal table:

-

Storage location: "\AREA=CL_UGMD_META2\INST=UGMD_FIELDINFO_LOCAL\CLNT="

Row width: 254

Number of rows: 0

Allocated rows: 704

Newly requested rows: 64 (in 10 blocks)

How to correct the error

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

Roll area...................... 16192

Extended memory (EM)........... 8379712

Assigned memory (HEAP)......... 0

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

Paging area.................... 0

Maximum address space.......... 71177248

Message from the Trace file:

A Tue Aug 7 23:55:15 2007

A

A ABAP Program CL_SHM_AREA===================CP .

A Source CL_SHM_AREA===================CM00E Line 2.

A Error Code TSV_TNEW_PAGE_ALLOC_FAILED.

A Module $Id: //bas/640_REL/src/krn/runt/abtsv.c#28 $ SAP.

A Function tsvItabCloneTableBody Line 454.

A ** RABAX: level LEV_RX_STDERR completed.

A ** RABAX: level LEV_RX_RFC_ERROR entered.

A ** RABAX: level LEV_RX_RFC_ERROR completed.

A ** RABAX: level LEV_RX_RFC_CLOSE entered.

A ** RABAX: level LEV_RX_RFC_CLOSE completed.

A ** RABAX: level LEV_RX_IMC_ERROR entered.

A ** RABAX: level LEV_RX_IMC_ERROR completed.

A ** RABAX: level LEV_RX_DATASET_CLOSE entered.

A ** RABAX: level LEV_RX_DATASET_CLOSE completed.

A ** RABAX: level LEV_RX_RESET_SHMLOCKS entered.

A ** RABAX: level LEV_RX_RESET_SHMLOCKS completed.

A ** RABAX: level LEV_RX_ERROR_SAVE entered.

A ** RABAX: level LEV_RX_ERROR_SAVE completed.

A ** RABAX: level LEV_RX_ERROR_TPDA entered.

A ** RABAX: level LEV_RX_ERROR_TPDA completed.

A ** RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.

A ** RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.

A ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.

A ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.

A ** RABAX: level LEV_RX_END entered.

A ** RABAX: level LEV_RX_END completed.

A ** RABAX: end RX_RFC

Kindly please help rectify this error.

Hi,

I am getting short dump everytime our users try to do some reporting.

<b>Message from ST22:</b>

Error analysis

The internal table "IT_0" could not be enlarged further. To allow

error handling, the table had to be deleted before this log was

created. So, if you branch to the ABAP debugger from the display

of this log, the table will there be displayed with 0 rows.

At the moment of the termination, the following data was

determined for the respective internal table:

-

Storage location: "\AREA=CL_UGMD_META2\INST=UGMD_FIELDINFO_LOCAL\CLNT="

Row width: 254

Number of rows: 0

Allocated rows: 704

Newly requested rows: 64 (in 10 blocks)

How to correct the error

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

Roll area...................... 16192

Extended memory (EM)........... 8379712

Assigned memory (HEAP)......... 0

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

Paging area.................... 0

Maximum address space.......... 71177248

Message from the Trace file:

A Tue Aug 7 23:55:15 2007

A

A ABAP Program CL_SHM_AREA===================CP .

A Source CL_SHM_AREA===================CM00E Line 2.

A Error Code TSV_TNEW_PAGE_ALLOC_FAILED.

A Module $Id: //bas/640_REL/src/krn/runt/abtsv.c#28 $ SAP.

A Function tsvItabCloneTableBody Line 454.

A ** RABAX: level LEV_RX_STDERR completed.

A ** RABAX: level LEV_RX_RFC_ERROR entered.

A ** RABAX: level LEV_RX_RFC_ERROR completed.

A ** RABAX: level LEV_RX_RFC_CLOSE entered.

A ** RABAX: level LEV_RX_RFC_CLOSE completed.

A ** RABAX: level LEV_RX_IMC_ERROR entered.

A ** RABAX: level LEV_RX_IMC_ERROR completed.

A ** RABAX: level LEV_RX_DATASET_CLOSE entered.

A ** RABAX: level LEV_RX_DATASET_CLOSE completed.

A ** RABAX: level LEV_RX_RESET_SHMLOCKS entered.

A ** RABAX: level LEV_RX_RESET_SHMLOCKS completed.

A ** RABAX: level LEV_RX_ERROR_SAVE entered.

A ** RABAX: level LEV_RX_ERROR_SAVE completed.

A ** RABAX: level LEV_RX_ERROR_TPDA entered.

A ** RABAX: level LEV_RX_ERROR_TPDA completed.

A ** RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.

A ** RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.

A ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.

A ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.

A ** RABAX: level LEV_RX_END entered.

A ** RABAX: level LEV_RX_END completed.

A ** RABAX: end RX_RFC

Kindly please help rectify this error.

8 REPLIES 8
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,050

The problem is that each session is alloted a certain amount of memory space. During your program runtime, this limit being exceeded. You need to take action to clean up any memory that is no longer being used. My suggestion would be to analye the program and if you any internal tables that are not being used any longer in the program, free up the memory by using the FREE statement.

refresh itab.  Free itab.

Regards.

Rich Heilman

Read only

0 Likes
1,050

Hi Rich,

Thanks so very much for the speedy answer.

I am not sure how to apply these commands.

Could u plz ellaborate on the way i need to give in this command please...

With Regards,

Priyanka Ravishankar

Read only

0 Likes
1,050

In your program, check to see if there are any internal tables which have a lot of data in them at runtime, use the debugger, if there are any, and they are not being used in further processing, use the REFRESH and FREE statement after you don't need the data anymore(in the program). So for example, say that for some reason the program is getting data from a database table, a lot of data, into an internal table, and you loop this internal table and move data to another internal table, and that second internal table is the one that you will be using later in the program, the first is now useless, so as soon as you can, get rid of the data and free the memory.

* Get data from database
select * into table itab from ztable.

* Manipulate data and collect into itab2.
  Loop at itab.
      ....
      collect itab2.
  endloop.

* so now ITAB is no longer needed, clear it and free it.
refresh itab.
free itab.

The above is just an example, you need to analyze the program and see what can be cleared and freed and when this can happend. Then you simply add the two statements to the program at the right point.

Regards,

RIch HEilman

Read only

0 Likes
1,050

Hi Rich,

I have checked in the programs and the program below is a standard program. and one more info what i wanted to tell is when the same report is generating in my Central Instance i have no errors but if the program is redirected to run in my apps server everything i have this error.

The error that pops up first in the screen is

The following error text was processed in the system BWP: No storage space available for extnding an internal table.

The termination type was RABAX_STATE

With Regards,

Priyanka Ravishankar

Read only

0 Likes
1,050

Hi Priyanka,

In this case you can ask your basis to extend the memory. Also reduce the selection so that memory will not overflow.

Regards,

Atish

Read only

0 Likes
1,050

Hi Atish,

I see enough memory allocation in my apps server.

<b>Memory[/b

Physical mem avail Kb 4,194,304 Physical mem free Kb 1,647,032

Pages in/s 0 Kb paged in/s 0

Pages out/s 0 Kb paged out/s 0

Could u plz lemme know how i can reduce the selection coz i am trying to open a report and thats when the functional team encounter the error.

With Regards,

Priyanka Ravishankar

Read only

0 Likes
1,050

Hi Priyanka,

you mean to say when you just trying to open a report by giving transaction code it is dumping then you should search OSS, there must be some note related to that.

Regards,

Atish

Read only

0 Likes
1,050

Hi Priyanka Singh

Did you find a solution? We have exactly the same issue.

thnaks for your help

regards

Murat