Skip To Main Content
Support Knowledge Base

How Does the OS Impact the Maximum Enclave Size?

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

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.

Related Products

This article applies to 1 products.