<?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: TSV_TNEW_PAGE_ALLOC_FAILED in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/7673443#M1575335</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;I have faced the same problem in my 64bit server. I have tried with increasing the following parameters in profile:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ztta/roll_area&lt;/P&gt;&lt;P&gt;Abap/heap_area_total&lt;/P&gt;&lt;P&gt;Abap/heap_area_dia&lt;/P&gt;&lt;P&gt;Abap/heap_area_nondia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This problem may occure due to lack of memory on server or very expensive select query, plz try as above with your basis as it worked 4 me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check Note 552209 addresses the settings for the memory intensive programs for which available address space (memory) is still insufficient even after the parameter change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Umang Mehta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Feb 2011 13:51:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-14T13:51:30Z</dc:date>
    <item>
      <title>TSV_TNEW_PAGE_ALLOC_FAILED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/7673442#M1575334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a report for counting and summing data in tables. But when executing a large table (over 15.000.000 records) it dumps with TSV_TNEW_PAGE_ALLOC_FAILED.&lt;/P&gt;&lt;P&gt;I do not know what is wrong because not one of my internal tables is too large. The error points to the fetch statement.&lt;/P&gt;&lt;P&gt;Do I need to clear a memory allocation or do something with the assigned fieldsymbol?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*       Open cursor for table
        OPEN CURSOR WITH HOLD lv_cursor FOR
        SELECT *
          FROM (lw_table-tabname)
          BYPASSING BUFFER
          WHERE (lt_where).
        DO.
*         Set output table and content
          lw_output-tabname = lw_table-tabname.
          CREATE DATA lw_output-content
                 TYPE STANDARD TABLE OF (lw_output-tabname).

*         Assign content table
          ASSIGN lw_output-content-&amp;gt;* TO &amp;lt;lfs_data&amp;gt;.
          IF &amp;lt;lfs_data&amp;gt; IS NOT ASSIGNED. CONTINUE. ENDIF.

          TRY.
*             Get table content per 10000 records
              FETCH NEXT CURSOR lv_cursor
                    INTO CORRESPONDING FIELDS OF TABLE &amp;lt;lfs_data&amp;gt;
                    PACKAGE SIZE 10000.

            CATCH cx_root.                               "#EC CATCH_ALL
*             Close the cursor
              CLOSE CURSOR lv_cursor.
          ENDTRY.

*         Append the output structure to the output table
          APPEND lw_output TO me-&amp;gt;gt_output.
          UNASSIGN &amp;lt;lfs_data&amp;gt;.
          CLEAR: lw_output.
        ENDDO.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 13:41:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/7673442#M1575334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-14T13:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: TSV_TNEW_PAGE_ALLOC_FAILED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/7673443#M1575335</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;I have faced the same problem in my 64bit server. I have tried with increasing the following parameters in profile:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ztta/roll_area&lt;/P&gt;&lt;P&gt;Abap/heap_area_total&lt;/P&gt;&lt;P&gt;Abap/heap_area_dia&lt;/P&gt;&lt;P&gt;Abap/heap_area_nondia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This problem may occure due to lack of memory on server or very expensive select query, plz try as above with your basis as it worked 4 me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check Note 552209 addresses the settings for the memory intensive programs for which available address space (memory) is still insufficient even after the parameter change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Umang Mehta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 13:51:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/7673443#M1575335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-14T13:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: TSV_TNEW_PAGE_ALLOC_FAILED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/7673444#M1575336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, when removing the append and setting the runtime variable to 999999 the program works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Wim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 15:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/7673444#M1575336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-14T15:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: TSV_TNEW_PAGE_ALLOC_FAILED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/7673445#M1575337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You use the PACKAGE SIZE option, but you never refresh your internal table. The internal table grows and eventually you get a memory overflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 15:14:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/7673445#M1575337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-14T15:14:40Z</dc:date>
    </item>
  </channel>
</rss>

