<?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>Question Re: cl_http_server=&amp;gt;server_cache_upload in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/cl-http-server-gt-server-cache-upload/qaa-p/1366996#M593652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;The formula in&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/e5/81113a2604c679e10000000a114084/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/e5/81113a2604c679e10000000a114084/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;doesn't make sense. I think it should be: &lt;/P&gt;&lt;P&gt;memory_needed = 2 * (2N + U) * M + S * 1000000 bytes&lt;/P&gt;&lt;P&gt;instead of:&lt;/P&gt;&lt;P&gt;memory_needed = 2 * (2N + U) * M + S * 100000 bytes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;If the issue depends on the profile parameter icm/HTTP/server_cache_&amp;lt;xx&amp;gt;/size_MB (or maybe&lt;/P&gt;&lt;P&gt;icm/HTTP/server_cache_&amp;lt;xx&amp;gt;/memory_size_MB) a SYSTEM_CORE_DUMPED shouldn't bee the right answer of the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still working on the problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thilo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jun 2006 09:09:18 GMT</pubDate>
    <dc:creator>Thilo</dc:creator>
    <dc:date>2006-06-13T09:09:18Z</dc:date>
    <item>
      <title>cl_http_server=&gt;server_cache_upload</title>
      <link>https://community.sap.com/t5/technology-q-a/cl-http-server-gt-server-cache-upload/qaq-p/1366993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello to all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following code runs in a TIME_OUT or sometimes in a SYSTEM_CORE_DUMPED error message when calling the method cl_http_server=&amp;gt;server_cache_upload().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: cached_response TYPE REF TO if_http_response.
DATA: guid            TYPE guid_32.
DATA: l_string  TYPE string.
DATA display_url TYPE STRING.

*DO 1333333 TIMES.     " 20 MB
DO 1666666 TIMES.     " 25 MB
  CONCATENATE l_string 'nur ein Test...' INTO l_string.
ENDDO.

CREATE OBJECT cached_response TYPE cl_http_response 
                              EXPORTING add_c_msg = 1.

cached_response-&amp;gt;set_cdata( l_string ).
cached_response-&amp;gt;set_header_field( 
          name  = if_http_header_fields=&amp;gt;content_type
          value = 'application/vnd.ms-excel' ).
cached_response-&amp;gt;set_status( code = 200 reason = 'OK' ).
cached_response-&amp;gt;server_cache_expire_rel( expires_rel = 180 ).

CALL FUNCTION 'GUID_CREATE'
    IMPORTING ev_guid_32 = guid.
CONCATENATE runtime-&amp;gt;application_url '/' guid INTO display_url.

cl_http_server=&amp;gt;server_cache_upload( url      = display_url
                                     response = cached_response ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But setting the l_string to size of about 20 MB does work and consumes less than 1 second.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain me that behavior?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Thilo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 15:02:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cl-http-server-gt-server-cache-upload/qaq-p/1366993</guid>
      <dc:creator>Thilo</dc:creator>
      <dc:date>2006-06-12T15:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: cl_http_server=&gt;server_cache_upload</title>
      <link>https://community.sap.com/t5/technology-q-a/cl-http-server-gt-server-cache-upload/qaa-p/1366994#M593650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may the issue is with this profile parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;icm/HTTP/server_cache_&amp;lt;xx&amp;gt;/size_MB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 08:14:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cl-http-server-gt-server-cache-upload/qaa-p/1366994#M593650</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-06-13T08:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: cl_http_server=&gt;server_cache_upload</title>
      <link>https://community.sap.com/t5/technology-q-a/cl-http-server-gt-server-cache-upload/qaa-p/1366995#M593651</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;Pls check &lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/e5/81113a2604c679e10000000a114084/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/e5/81113a2604c679e10000000a114084/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;for proper calculation of the param mentioned by Raja.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/72/c2153aab4a0c0ee10000000a114084/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/72/c2153aab4a0c0ee10000000a114084/frameset.htm&lt;/A&gt; for background info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 08:24:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cl-http-server-gt-server-cache-upload/qaa-p/1366995#M593651</guid>
      <dc:creator>eddy_declercq</dc:creator>
      <dc:date>2006-06-13T08:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: cl_http_server=&gt;server_cache_upload</title>
      <link>https://community.sap.com/t5/technology-q-a/cl-http-server-gt-server-cache-upload/qaa-p/1366996#M593652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;The formula in&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/e5/81113a2604c679e10000000a114084/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/e5/81113a2604c679e10000000a114084/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;doesn't make sense. I think it should be: &lt;/P&gt;&lt;P&gt;memory_needed = 2 * (2N + U) * M + S * 1000000 bytes&lt;/P&gt;&lt;P&gt;instead of:&lt;/P&gt;&lt;P&gt;memory_needed = 2 * (2N + U) * M + S * 100000 bytes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;If the issue depends on the profile parameter icm/HTTP/server_cache_&amp;lt;xx&amp;gt;/size_MB (or maybe&lt;/P&gt;&lt;P&gt;icm/HTTP/server_cache_&amp;lt;xx&amp;gt;/memory_size_MB) a SYSTEM_CORE_DUMPED shouldn't bee the right answer of the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still working on the problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thilo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 09:09:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cl-http-server-gt-server-cache-upload/qaa-p/1366996#M593652</guid>
      <dc:creator>Thilo</dc:creator>
      <dc:date>2006-06-13T09:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: cl_http_server=&gt;server_cache_upload</title>
      <link>https://community.sap.com/t5/technology-q-a/cl-http-server-gt-server-cache-upload/qaa-p/1366997#M593653</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;Pls don't forget to reward points and close the question if you find the answers useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2006 09:55:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cl-http-server-gt-server-cache-upload/qaa-p/1366997#M593653</guid>
      <dc:creator>eddy_declercq</dc:creator>
      <dc:date>2006-06-16T09:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: cl_http_server=&gt;server_cache_upload</title>
      <link>https://community.sap.com/t5/technology-q-a/cl-http-server-gt-server-cache-upload/qaa-p/1366998#M593654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thilo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this is a very old post, but we are facing the same problem as described here.&lt;/P&gt;&lt;P&gt;Even the sample shows the same behavior.&lt;/P&gt;&lt;P&gt;Could you remember what was the solution for the problem?&lt;/P&gt;&lt;P&gt;Perhaps this would help us, too!?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 11:59:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cl-http-server-gt-server-cache-upload/qaa-p/1366998#M593654</guid>
      <dc:creator>mark_babsch</dc:creator>
      <dc:date>2015-01-08T11:59:10Z</dc:date>
    </item>
  </channel>
</rss>

