otp icon indicating copy to clipboard operation
otp copied to clipboard

Support including off-heap binaries in max_heap_size

Open sverker opened this issue 3 years ago • 1 comments

Fixes #5889.

Instead of adding a new limit "max_vheap_size", this PR proposes an option to the existing max_heap_size map:

#{include_shared_bins => true | false}

If set to true off-heap binaries ("vheap") is included in the total heap size compared against the max_heap_size limit. Default is false to keep existing semantics.

sverker avatar Oct 04 '22 11:10 sverker

CT Test Results

       3 files     132 suites   44m 11s :stopwatch: 1 528 tests 1 477 :heavy_check_mark: 51 :zzz: 0 :x: 1 938 runs  1 868 :heavy_check_mark: 70 :zzz: 0 :x:

Results for commit 7a90b4c6.

:recycle: This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

github-actions[bot] avatar Oct 04 '22 11:10 github-actions[bot]