cancel
Showing results for 
Search instead for 
Did you mean: 

MEM_ALLOC_FAILED dump when exporting data to excel

former_member190251
Participant
0 Kudos

Hello All

We are getting dump for a particular user in our ECC Production system, when the user tries to export some data from SQ00 transaction.

Steps to reproduce the issue :

SQ00 -> User group (Material Management) -> Select a query -> run with variant.

Then click ok.

Here its redirects to you a screen where we just specify details of the plant and date which is for three to four months. Then execute in dialog. The process takes around 5-10 mins to run.

After this details are displayed on screen. Then we export to excel in the local dekstop. During this process it ends with a dump ( MEM_ALLOC_FAILED ).

The same when executed by other users, It works.

Please advise us on this

Regards

Sub

Accepted Solutions (0)

Answers (3)

Answers (3)

raquel_gomez
Employee
Employee
0 Kudos

Hi Sub,

When checking a memory dump (in this case, MEM_ALLOC_FAILED) you can always check on the dump itself the amount of memory that was being consumed at that timestamp.
Dump shows: "The amount of memory (in bytes) used at termination time was: "

It's also always recomendable to check information written on the affected work process trace file (dev_w*). You can find on the dump which was the affected work process, under 'System environment' section:
Application server... <server_name>
Work process number... <nr>

This helps to get a general overview about the reason of this dump,as memory shortage can be caused by many different reasons. ST02 is also a good starting point to check memory health on each application server.
For deeper analysis, please attach complete dump and check information written on corresponding work process trace file.

Regards,
Raquel

Matt_Fraser
Active Contributor
0 Kudos

Subbu,

Are you sure this isn't related to the memory allocation issues you're reporting at https://answers.sap.com/questions/113447/index.html? If so, it may be best to solve this all in one thread, as it certainly seems similar. Over there, Isaias pointed you toward some good resources for troubleshooting memory issues in NetWeaver 7.4+ systems. Questions about MEM_ALLOC_FAILED and/or TSV_TNEW_PAGE_ALLOC_FAILED come up all the time, so you might try searching on it.

ST02 is a good resource for starting your troubleshooting. Restarting your instance is a bad idea (assuming this is production) unless your system is basically hung and no one can work anyway.

Have a look at:

https://wiki.scn.sap.com/wiki/display/SI/TSV_TNEW_PAGE_ALLOC_FAILED

https://wiki.scn.sap.com/wiki/display/SI/Memory+Dumps+as+of+Kernel+Release+7.4x

Note 1680814: "EmAllocFailed" and other memory allocation problems

Cheers,
Matt

Sriram2009
Active Contributor
0 Kudos

Hi Sub.

1. During the process check the buffers status in transaction code ST02? if possible do the restart the SAP instance.

2. Could you share the full dump as text format attachment?

BR

SS