gramineproject / graphene

Graphene / Graphene-SGX - a library OS for Linux multi-process applications, with Intel SGX support
https://grapheneproject.io
GNU Lesser General Public License v3.0
771 stars 261 forks source link

[Examples] Fix Out-of-memory in PAL #2512

Closed sprzysta closed 3 years ago

sprzysta commented 3 years ago

Signed-off-by: Przystawski sebastian.przystawski@intel.com

Without specifying Graphene metadata size this pytorch sample application was not able to run because of "Out-of-memory in PAL" error. Specifying "loader.pal_internal_mem_size" in manifest fix that issue.

Changes to be committed: modified: Examples/pytorch/pytorch.manifest.template

Description of the changes

Added loader.pal_internal_mem_size = "128M" to pytorch manifest.template

How to test this PR?

Buld and run pytorch example according to the instructions in https://github.com/sprzysta/graphene/blob/master/Examples/pytorch/README.md. Example application should run without error


This change is Reviewable

dimakuv commented 3 years ago

Jenkins, test this please

dimakuv commented 3 years ago

Jenkins, test this please