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

Dump - mem_alloc_failed

former_member194669
Active Contributor
0 Likes
3,053

All,

I am getting the following dump in a ALV report, But dump not getting all the time

Runtime Errors MEM_ALLOC_FAILED

Date and Time 07/16/2009 10:54:34

Short text

Internally required memory is not available

What happened?

Resource bottleneck

The current program "CL_SALV_BS_TT_MHTML===========CP" had to be terminated

because

a capacity limit has been reached.

Termination occurred in the ABAP program "CL_SALV_BS_TT_MHTML===========CP" -

in "TRANSFORM_FROM_ALVXML".

Any info how to correct this.

a®

12 REPLIES 12
Read only

Former Member
0 Likes
1,754

Hi,

You check this whether report is going infinite loop or what.

That could be the problem.

Thanks,

Read only

0 Likes
1,754

If the report goes in a indefinite loop then it will NOT produce a output and dump will be "Time out error"

a®

Read only

Former Member
0 Likes
1,754

If you are running in background, look if multiple jobs are running simultaneously at the same time.

You want to talk with basis as this is related to memory issue.

Thanks

Kiran

Read only

0 Likes
1,754

Its normal abap ALV report using classes , and runs in foreground mode. and its got nothing with background jobs

a®

Read only

0 Likes
1,754

Can you please describe where and how you are getting this dump and what kind of data are you handling?

Read only

0 Likes
1,754

Dump we are getting while users trying to download ALV to XLS, Dump not getting all the time, Its getting one unevenly manner.

PS : I checked SAPGui frontend patches , all users are updated 7.10 with latest

a®

Read only

0 Likes
1,754

try rz10 & rz11. But its basis call again.

and i guess, u will have to restart the system to have this effected, not sure though.

Thanks

Kiran

Read only

GauthamV
Active Contributor
0 Likes
1,754

Did you check in debugging mode where you are getting this problem ?

Check the Memory available in DB02 or DB20 transaction( i guess as i am not with sap system now )

May be basis people can help you in increasing it.

Read only

0 Likes
1,754

As per Basis the oracle database looks okay. The problem seems to be a SAP R/3 buffer.

Does anyone knows how to enlarge buffer , how we do it only for this report?

a®

Read only

GauthamV
Active Contributor
0 Likes
1,754

Check if this may help you.

Read only

0 Likes
1,754

RZ10 uses to increase sap r/3 buffer dynamically. Currently i am looking for way for increase the buffer for a particular program.

Here quick and dirty solution will be remove the XLS download button of ALV and added a custom button for downloading to XLS using XML tags

How to download to excel using XML tags

https://wiki.sdn.sap.com/wiki/display/Snippets/XMLTAGSsimplifiesExcelDownload

a®

Read only

Former Member
0 Likes
1,754

You cannot allocate memory buffers dynamically.  If you were you would usr RZ11 not RZ10 to which RZ10 is used to create static profile parameters that will be read at kernel startup when memory is allocated.  Please see note 1229110 for this issue.