Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
0721-erts-Cuddle-binary_SUITE-t_iolist_size_hug...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0721-erts-Cuddle-binary_SUITE-t_iolist_size_huge_list-on-.patch of Package erlang
From 7ec14839411443b1f552f456bceb06d1eb6b8c48 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson <sverker@erlang.org> Date: Mon, 1 Nov 2021 20:26:14 +0100 Subject: [PATCH 1/2] erts: Cuddle binary_SUITE:t_iolist_size_huge_list on asan Seen to cause out-of-memory on asan. Raise the memory demand for asan and valgrind. --- erts/emulator/test/binary_SUITE.erl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/erts/emulator/test/binary_SUITE.erl b/erts/emulator/test/binary_SUITE.erl index 2840eb3dd0..f4a61209d3 100644 --- a/erts/emulator/test/binary_SUITE.erl +++ b/erts/emulator/test/binary_SUITE.erl @@ -1049,8 +1049,14 @@ total_memory() -> end. run_when_enough_resources(Fun) -> + DemandGb = case erlang:system_info(build_type) of + Gb when Gb =:= valgrind; Gb =:= asan -> + 30; + _ -> + 15 + end, case {total_memory(), erlang:system_info(wordsize)} of - {Mem, 8} when is_integer(Mem) andalso Mem >= 15 -> + {Mem, 8} when is_integer(Mem) andalso Mem >= DemandGb -> Fun(); {Mem, WordSize} -> {skipped, -- 2.31.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor