2009 Jul 17 3:36 PM
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®
2009 Jul 17 3:40 PM
Hi,
You check this whether report is going infinite loop or what.
That could be the problem.
Thanks,
2009 Jul 17 3:43 PM
If the report goes in a indefinite loop then it will NOT produce a output and dump will be "Time out error"
a®
2009 Jul 17 3:41 PM
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
2009 Jul 17 3:49 PM
Its normal abap ALV report using classes , and runs in foreground mode. and its got nothing with background jobs
a®
2009 Jul 17 3:58 PM
Can you please describe where and how you are getting this dump and what kind of data are you handling?
2009 Jul 17 4:04 PM
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®
2009 Jul 17 4:10 PM
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
2009 Jul 17 3:55 PM
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.
2009 Jul 17 4:00 PM
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®
2009 Jul 17 4:04 PM
2009 Jul 17 4:42 PM
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®
2013 Nov 08 9:59 PM
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.