Article ID: 000089551 Content Type: Product Information & Documentation Last Reviewed: 02/17/2022

How Does the OS Impact the Maximum Enclave Size?

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

The operating system's paging capabilities affect the maximum enclave size.

Description

Unable to determine if the heap size is limited by the OS in which the enclave will run.

Resolution

Windows
Windows* does not support paging for Intel® Software Guard Extensions (Intel® SGX) enclaves, so the maximum size of an enclave is limited by the available Enclave Page Cache (EPC).

Linux
Linux* supports paging so the amount of memory you can allocate to an enclave is not limited by the EPC size or amount of available memory. Therefore, the size of the enclave can be as large as MaxEnclaveSize.