> 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


-- 
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/533#issuecomment-890962978

Reply via email to