Skip to Content
-7

Abap dump error

Hello Experts,

I have a issue with a ABAP program that he teminited with dump .

Its

Its possible to optimizate the folowing code ?

4ygfa.png (6.4 kB)
1e4vs.png (27.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Jan 23, 2017 at 01:33 PM

    You've not really given enough information for a proper answer.

    You need to determine if this issue is due to a memory leak (faulty programming) or just too much data. In either case, the fix is not to increase the amount of memory you have - except in rare cases you'll just run into the new limit.

    To work out whether it's a memory leak, run in debug. Check the amount of data in <wt_fs_tables> before the loop start - use the memory analyser to see how much memory it's actually using. As you go through the loop, watch <wt_fs_tablez> and see how its memory usage increases.

    Check whether the method containing this bit of code is being called multiple times.

    One more piece of advice. Your variable naming is absolutely terrible. I assume that "fs" is for field symbols? That's a complete waste, because the little brackets < > tell you it's a field symbol. And tables and tablez are utter meaningless names. Please spend some effort making your code readable and comprehensible.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 24, 2017 at 02:03 PM
    -1

    Thank you so much for your answers

    the amount of data in <wt_fs_tables> before the loop is 2 219 336.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 18, 2017 at 12:40 PM
    -9

    Ask your BASIS team. They need to increase paging area.

    Rgds

    Add comment
    10|10000 characters needed characters exceeded

    • Raghu, thanks for the info. Important difference - "while looking for a way to get the bleeding stopped". Folks here seem to believe that "increase memory size" is a permanent solution. At least no one other than Matthew advised OP to look for the root cause.

  • avatar image
    Former Member
    Jan 23, 2017 at 12:41 PM
    -9

    Increase the memory size..check with your BASIS team or restrict the amount of data you have given in selection.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 24, 2017 at 04:18 PM

    When I run the program manually , I get any errors. but when this program running in parallel with another programs I get the dump mensionned below.

    Add comment
    10|10000 characters needed characters exceeded

    • What do you mean "manually" here - SE38 or the debugger? And, can you help us understand what you mean by "running in parallel with another programs". What other programs are running? Do you normally test by making sure there are no other users or background jobs running?

  • Jan 26, 2017 at 04:30 PM

    Wow ! can't believe this much happened since i last visit ! Thanks all for the information.

    Add comment
    10|10000 characters needed characters exceeded