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

Internal table Memory Issue Exception TSV_TNEW_PAGE_ALLOC_FAILED

Former Member
0 Likes
925

Hi experts,

I am working on a conversiojn programme. This programme is dealing with 4 input files.

Each of these files is having more than 50,000 records. I am reading the corresponding application server files to fill

the internal tables related to these files.

The files are being read properly and internal tables are being filled.

However when i try to assign any of these 4 internal tables to other temproray internal tables in programme(requirement)

i get a dump TSV_TNEW_PAGE_ALLOC_FAILED.

The dump is related to memory issue.

I think The memory available in the programme at this point is not sufficient for table assignment.

Please suggest any alternatives where i can save any memory .

Changig of basis setting is not an option.

Regards,

Abhishek Kokate

6 REPLIES 6
Read only

HermannGahm
Product and Topic Expert
Product and Topic Expert
0 Likes
831

Hi,

> Changig of basis setting is not an option.

process smaller chunks of data. (e.g. not all 50.000 records at once) is one option.

Alternatively create a memory snapshot right before the program dumps and analyze where

the memory is consumed in order to understand if or where you can reduce memory consumption.

Kind regards,

Hermann

Read only

0 Likes
831

Hi Herman,

Could you please suggest how do i process smaller chunks of data.

I am no selectiong any thing.

The error is occuring during the internal table assignment.

for e.g itab[] = itb1[].

itab1 is internal table with large entirs.

Regards

Read only

HermannGahm
Product and Topic Expert
Product and Topic Expert
0 Likes
831

Hi,

> Could you please suggest how do i process smaller chunks of data.

you said you have 4 files with more than 50000 records. If possible

don't process all of them at once but smaller packages one after the

other...

Kind regards,

Hermann

Read only

Former Member
0 Likes
831

check with basis to get the memory size increased.

Thanks,

Kiran

Read only

0 Likes
831

Hi Kiran,

I am not agree with you , I am agree with Hermann.

While writting file you restrict the record max 5,000 to 10,000 records and process don't store the mutch data into internal table.

After every used refresh the internal table, Declare table where necessary.

But you can try to avoid the copy cost.

Rgds

Ravi Lanjewar

Read only

Former Member
0 Likes
831

Solved on Own.

Used Minimum Internal tables without changing the BASIS settings.