<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Memory space issue in internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-space-issue-in-internal-table/m-p/4438504#M1053298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This solution might not sound good. But give a thought.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While appending data u may take more than one internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Append first 10lakh records to 1st table, Second 10 lakhs to second table etc.&lt;/P&gt;&lt;P&gt;But from where are u getting the source data? It should be present in some internal table correct?&lt;/P&gt;&lt;P&gt;Probably u can use dynamic internal tables concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check ur code carefully. After the place of appending if u are not going to use any internal tables then use &lt;STRONG&gt;FREE itab&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;statement to free the memory allocated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Also reduce the global declarations as much as possible&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2008 11:39:15 GMT</pubDate>
    <dc:creator>vinod_vemuru2</dc:creator>
    <dc:date>2008-09-10T11:39:15Z</dc:date>
    <item>
      <title>Memory space issue in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-space-issue-in-internal-table/m-p/4438498#M1053292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My report is dumping because there is no memory space availabe for extending the memory of an internal table, after it gets filled with about 2500000 lakh records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the dump analysis is as follows :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error analysis&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The internal table (with the internal identifier "IT_317") could not be&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;enlarged any further. To enable error handling, the internal table had&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;to be deleted before this error log was formatted. Consequently, if you&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;navigate back from this error log to the ABAP Debugger, the table will&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;be displayed there with 0 lines.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When the program was terminated, the internal table concerned returned&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;the following information:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Line width: 1700&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Number of lines: 106904&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Allocated lines: 106904&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;New no. of requested lines: 8 (in 1 blocks)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How to correct the error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The amount of storage space (in bytes) filled at termination time was:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Roll area...................... 7272944&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Extended memory (EM)........... 603339264&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Assigned memory (HEAP)......... 396390176&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Short area..................... " "&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Paging area.................... 40960&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Maximum address space.......... 529887568&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;You may able to find an interim solution to the problem&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;in the SAP note system. If you have access to the note system yourself,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;use the following search criteria:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest what can be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vikas Arya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 11:14:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-space-issue-in-internal-table/m-p/4438498#M1053292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-10T11:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Memory space issue in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-space-issue-in-internal-table/m-p/4438499#M1053293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check with youe basis to increase your available resource memory.&lt;/P&gt;&lt;P&gt;also you can try to give &lt;STRONG&gt;package size&lt;/STRONG&gt; with internal table which you are showing to output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 11:16:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-space-issue-in-internal-table/m-p/4438499#M1053293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-10T11:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Memory space issue in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-space-issue-in-internal-table/m-p/4438500#M1053294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Vikas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its obvious that if you dump so much of data into an internal table then you are asking for Trouble....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This dump is occurring in the Select Statement....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not here then it would have occurred while processing these huge amount of data....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My suggestion to you would be to make the Where Clause in the Select query more precise so that only limited entries are selected...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Every thing has some technical constraint and those technical constraint cannot be over come for such huge amount of data....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kunjal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 11:22:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-space-issue-in-internal-table/m-p/4438500#M1053294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-10T11:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Memory space issue in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-space-issue-in-internal-table/m-p/4438501#M1053295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please describe what your program is supposed to do, then maybe a workaround can be recommended.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 11:27:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-space-issue-in-internal-table/m-p/4438501#M1053295</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-09-10T11:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Memory space issue in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-space-issue-in-internal-table/m-p/4438502#M1053296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kunjal, I get your point about optimizing the select statement .. &lt;/P&gt;&lt;P&gt;but this dump is occuring while i am appending the internal table and not while during the select statement.&lt;/P&gt;&lt;P&gt;If there is no way i can reduce the records being populated to the internal table, is there a solution ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 11:29:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-space-issue-in-internal-table/m-p/4438502#M1053296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-10T11:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Memory space issue in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-space-issue-in-internal-table/m-p/4438503#M1053297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a probable solution but I dont know how feasible it will be as per your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Heres the solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are appending the records to the DB table from Internal table then you can divide them into batch of few records then empty the internal table and do the same thing with the remaining records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kunjal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 11:37:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-space-issue-in-internal-table/m-p/4438503#M1053297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-10T11:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Memory space issue in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-space-issue-in-internal-table/m-p/4438504#M1053298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This solution might not sound good. But give a thought.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While appending data u may take more than one internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Append first 10lakh records to 1st table, Second 10 lakhs to second table etc.&lt;/P&gt;&lt;P&gt;But from where are u getting the source data? It should be present in some internal table correct?&lt;/P&gt;&lt;P&gt;Probably u can use dynamic internal tables concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check ur code carefully. After the place of appending if u are not going to use any internal tables then use &lt;STRONG&gt;FREE itab&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;statement to free the memory allocated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Also reduce the global declarations as much as possible&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 11:39:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-space-issue-in-internal-table/m-p/4438504#M1053298</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-09-10T11:39:15Z</dc:date>
    </item>
  </channel>
</rss>

