<?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: Handle Runtime error: TSV_TNEW_PAGE_ALLOC_FAILED in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-runtime-error-tsv-tnew-page-alloc-failed/m-p/7237364#M1525770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you're not the first person who's tried to process multi-million record tables in a single pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That was funny &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@OP -  Check where the problem is getting triggered, reduce tha amount of data. As Dave said use package size. If its triggering from any standard function modules check for the OSS Notes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Sep 2010 17:48:25 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2010-09-17T17:48:25Z</dc:date>
    <item>
      <title>Handle Runtime error: TSV_TNEW_PAGE_ALLOC_FAILED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-runtime-error-tsv-tnew-page-alloc-failed/m-p/7237361#M1525767</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;In my programme, some times I end up with handling of lots of data in internal table. And this results in a dump.&lt;/P&gt;&lt;P&gt;Category               ABAP Server Resource Shortage&lt;/P&gt;&lt;P&gt;Runtime Errors         TSV_TNEW_PAGE_ALLOC_FAILED&lt;/P&gt;&lt;P&gt;Short text&lt;/P&gt;&lt;P&gt;    No more memory available to extend an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read few threads where they suggested to increase the internal memory of ths system. This is beyond my scope!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway I can catch this exception and stop the programme from executing further?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 11:51:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-runtime-error-tsv-tnew-page-alloc-failed/m-p/7237361#M1525767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-17T11:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Handle Runtime error: TSV_TNEW_PAGE_ALLOC_FAILED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-runtime-error-tsv-tnew-page-alloc-failed/m-p/7237362#M1525768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reduce the amount of data you're handling...look at package size addition to select...search the forum, you're not the first person who's tried to process multi-million record tables in a single pass.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 12:21:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-runtime-error-tsv-tnew-page-alloc-failed/m-p/7237362#M1525768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-17T12:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Handle Runtime error: TSV_TNEW_PAGE_ALLOC_FAILED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-runtime-error-tsv-tnew-page-alloc-failed/m-p/7237363#M1525769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TRY.
  ...
  CATCH SYSTEM-EXCEPTIONS.
ENDTRY.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use F1 to get more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and as an edit: what he said.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 12:23:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-runtime-error-tsv-tnew-page-alloc-failed/m-p/7237363#M1525769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-17T12:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Handle Runtime error: TSV_TNEW_PAGE_ALLOC_FAILED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-runtime-error-tsv-tnew-page-alloc-failed/m-p/7237364#M1525770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you're not the first person who's tried to process multi-million record tables in a single pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That was funny &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@OP -  Check where the problem is getting triggered, reduce tha amount of data. As Dave said use package size. If its triggering from any standard function modules check for the OSS Notes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 17:48:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-runtime-error-tsv-tnew-page-alloc-failed/m-p/7237364#M1525770</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-09-17T17:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Handle Runtime error: TSV_TNEW_PAGE_ALLOC_FAILED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-runtime-error-tsv-tnew-page-alloc-failed/m-p/7237365#M1525771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TSV_TNEW_PAGE_ALLOC_FAILED is a not catchable error. It happens if a program exceeds the system boundaries, typically ~2 GB. Requesting so much memory is a strong indication for a flaw in the archtecture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway these kind of errors require a change in the program or in the arguments given to them. In newer releases you may try S_MEMORY_INSPECTOR to analyse the endless need of memory. In older releases watch out for hughe internal tables in the ST22 dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Sep 2010 16:29:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-runtime-error-tsv-tnew-page-alloc-failed/m-p/7237365#M1525771</guid>
      <dc:creator>former_member183804</dc:creator>
      <dc:date>2010-09-18T16:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Handle Runtime error: TSV_TNEW_PAGE_ALLOC_FAILED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-runtime-error-tsv-tnew-page-alloc-failed/m-p/7237366#M1525772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess that won't help you personally anymore, but maybe someone else is looking for that. At least I was.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can't keep the system from creating a shortdump, but your program can handle it if you write a wrapper for it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ZFM_MMA_MEM_TEST' &lt;/SPAN&gt;DESTINATION &lt;SPAN class="L0S33"&gt;'NONE'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; system_failure&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; communication_failure &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;3&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &amp;lt;&amp;gt; &lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MESSAGE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'An unknown error occurred.' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'E'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;That way, the storage consumption throws a system_failure exception and your wrapping program can handle it properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 11:47:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-runtime-error-tsv-tnew-page-alloc-failed/m-p/7237366#M1525772</guid>
      <dc:creator>matthias_maisch</dc:creator>
      <dc:date>2016-07-01T11:47:26Z</dc:date>
    </item>
  </channel>
</rss>

