mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-11-30 13:40:51 +00:00
!5067 fix: invalid capacity_ on devices with small RAM
Merge pull request !5067 from diartyz/ios
This commit is contained in:
commit
78a181596b
@ -43,8 +43,8 @@ static constexpr size_t LARGE_POOL_SIZE = 480_MB;
|
||||
static constexpr size_t MEDIUM_POOL_SIZE = 256_MB;
|
||||
static constexpr size_t LOW_POOL_SIZE = 64_MB;
|
||||
static constexpr size_t MIN_MEM_POOL_CAPACITY = 64_MB;
|
||||
static constexpr size_t PHY_SIZE_MULTIPLE = 4;
|
||||
static constexpr size_t WORKER_NUM = 8;
|
||||
static constexpr size_t PHY_SIZE_MULTIPLE = WORKER_NUM + 1;
|
||||
static constexpr size_t STANDARD_POOL_SIZE = WORKER_NUM * DEFAULT_WORKER_HEAP_SIZE + DEFAULT_HEAP_SIZE;
|
||||
|
||||
static constexpr size_t MIN_OLD_SPACE_LIMIT = 2_MB;
|
||||
|
Loading…
Reference in New Issue
Block a user