You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2021/08/02 11:52:14 UTC

[GitHub] [incubator-teaclave] xglreal commented on issue #533: The payload is too large, how to fix?

xglreal commented on issue #533:
URL: https://github.com/apache/incubator-teaclave/issues/533#issuecomment-890962978


   > Hi @xglreal if you want a hot fix, please enlarge the the enclave's heap size.
   > 
   > I've tested it's effectiveness, but I'm not sure how much you need to run your code. You need update the heap size in the enclave's configuration file, [e.g.](https://github.com/apache/incubator-teaclave/blob/master/services/execution/enclave/Enclave.config.xml#L6). Please change the storage, management, scheduler, and execution service enclaves.
   > 
   > Besides, if your WASM app needs more memory, please remember to adjust the heap/stack size of WAMR [here](https://github.com/apache/incubator-teaclave/blob/master/executor/src/wamr.rs#L32).
   
   Thanks,the file can be uploaded to the enclave. But there has another question that how to debug the wasm when run in the enclave. The wasm rust can run correct in my computer local. But builded wasm had occured errors that didn't have detail message.
   
   Here is the error:
   Exception: unreachable
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org