Skip to Content
author's profile photo Former Member
Former Member

Internal mode has exceeded the maximum size of 2GB

Hi team,

I'm facing the dump as

Internal mode has exceeded the maximum size of 2GB

What happened?

The maximum size permitted for an internal session is 2GB. A detailed

description of the problem can be found in the note 548845. This

runtime error is platform-specific and cannot be avoided by optimizing

the memory profile parameters.

Error analysis

More main memory had been allocated in the internal session than is

permitted.

Possible causes:

- many (large) internal tables

- many (large) programs active

- deep nesting of subroutines with lots of local data

- many instances of a class (CREATE OBJECT)

- many instances of a type (CREATE DATA)

- memory that is no longer needed is not released.

what could be the reason??? ...

Any inputs on this will be highlt rewarded.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Mar 11, 2008 at 10:03 AM

    Your program is using too much memory.

    You can check if there are internal tables that are defined as global in the function group or in your report that are not cleared when they are no longer used.

    Try to use the free statement whenever you no longer need a variable or an internal table.

    If this is not the case, you are loading to much data into memory.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 11, 2008 at 12:19 PM

    Hello.

    Maximum memory size set in system profile. If you need more memory talk to your system administrator.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 18, 2008 at 08:22 PM

    Hello Lakshmiray,

    with NW ABAP release 6.40 onwards you may use the memory inspector (ta S_MEMORY_INSPECTOR) to get an idea were the memory has been gone.

    Common reasons are:

    • large internal tables caused by nested loop related logic without boundary checks.

    • long running applications with heavy use of nested table (this will cause memory fragmentation)

    Hope this helps

    Klaus

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.