You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by gjj <no...@github.com> on 2020/09/10 01:27:32 UTC

[apache/incubator-teaclave] memory allocation of .....failed (#419)

![image](https://user-images.githubusercontent.com/30582212/92670821-6d49c480-f347-11ea-9cf5-168af10e373a.png)


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/419

Re: [apache/incubator-teaclave] memory allocation of .....failed (#419)

Posted by gjj <no...@github.com>.
I only modified the Enclave.config.xml of executionservice, it need all services to be modified?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/419#issuecomment-689953955

Re: [apache/incubator-teaclave] memory allocation of .....failed (#419)

Posted by Mingshen Sun <no...@github.com>.
Please change the pre-defined heap size in the `Enclave.config.xml` files. You can find it in each service's enclave directory. (e.g., `services/execution/enclave/Enclave.config.xml`)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/419#issuecomment-689939117

Re: [apache/incubator-teaclave] memory allocation of .....failed (#419)

Posted by gjj <no...@github.com>.
emm....  I have to re install and compile teaclave to work

I hope it will work if you restart it

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/419#issuecomment-690086517

Re: [apache/incubator-teaclave] memory allocation of .....failed (#419)

Posted by gjj <no...@github.com>.
> services/execution/enclave/Enclave.config.xml

I changed it to look like this

`<EnclaveConfiguration>
  <ProdID>0</ProdID>
  <ISVSVN>0</ISVSVN>
  <StackMaxSize>0x2000000</StackMaxSize> 
  <HeapMaxSize>0x300000000</HeapMaxSize> 
  <TCSNum>22</TCSNum>
  <TCSPolicy>0</TCSPolicy>
  <DisableDebug>0</DisableDebug>
  <MiscSelect>0</MiscSelect>
  <MiscMask>0xFFFFFFFF</MiscMask>
</EnclaveConfiguration>`

and restart teacalve, it still reports the same error and kills the executionservice

There are various array loops in my code, and the total amount of data is about 50W


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/419#issuecomment-689945676

Re: [apache/incubator-teaclave] memory allocation of .....failed (#419)

Posted by gjj <no...@github.com>.
not work.  
After modifying this file, it is executed 
`docker-compose -f docker-compose-ubuntu-1804.yml up --build` ?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/419#issuecomment-690036829

Re: [apache/incubator-teaclave] memory allocation of .....failed (#419)

Posted by gjj <no...@github.com>.
Closed #419.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/419#event-3749752141