<?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 Hi Xiaohe in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/HeapMaxSize-limitation-using-linux/m-p/1154031#M2669</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;Xiaohe&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;The out of Memory error could be due to inability to find the linear size of 34GB . Can you check the memory available before running the application ?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Shivananda&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2017 13:36:57 GMT</pubDate>
    <dc:creator>Shivananda_H_Intel</dc:creator>
    <dc:date>2017-07-26T13:36:57Z</dc:date>
    <item>
      <title>HeapMaxSize limitation using linux</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/HeapMaxSize-limitation-using-linux/m-p/1154030#M2668</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I know there were some threads discussing the EPC or heap size. My question is different.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;Given the previous discussion, SGX &lt;/SPAN&gt;dirver&lt;SPAN style="font-size: 1em;"&gt; in &lt;/SPAN&gt;linux&lt;SPAN style="font-size: 1em;"&gt; platform supports swapping, so that enclave size can exceed the EPC size (~90MB). But I found if the HeapMaxSize set to a large number, enclave can not be created yet.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I run the test on a&amp;nbsp;linux server with 64GB RAM. When I set&amp;nbsp;HeapMaxSize to 0x800000000 (around 34GB), the sgx_create_enclave API returns errno&amp;nbsp;3, i.e. out of memory.&amp;nbsp;HeapMaxSize set to&amp;nbsp;0x700000000 works.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;My question is what is the reason of HeapMaxSize limitation (roughly enclave memory limitation)? It seems enclave can not consume all the physical RAM at least.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;Xiaohe&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 20:03:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/HeapMaxSize-limitation-using-linux/m-p/1154030#M2668</guid>
      <dc:creator>Xiaohe_H_</dc:creator>
      <dc:date>2017-07-25T20:03:23Z</dc:date>
    </item>
    <item>
      <title>Hi Xiaohe</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/HeapMaxSize-limitation-using-linux/m-p/1154031#M2669</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;Xiaohe&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;The out of Memory error could be due to inability to find the linear size of 34GB . Can you check the memory available before running the application ?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Shivananda&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 13:36:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/HeapMaxSize-limitation-using-linux/m-p/1154031#M2669</guid>
      <dc:creator>Shivananda_H_Intel</dc:creator>
      <dc:date>2017-07-26T13:36:57Z</dc:date>
    </item>
  </channel>
</rss>

