llvm/llvm-project
GitHub で見るorc::InProcessMemoryMapper makes too many memory mappings
Open
#63,236 opened on 2023年6月10日
good first issuejulialangorcjit
Repository metrics
- Stars
- (26,378 stars)
- PR merge metrics
- (平均マージ 1d 2h) (30d で 1,000 merged PRs)
説明
First seen in https://github.com/JuliaLang/julia/pull/49745, but to summarize, InProcessMemoryMapper calls mprotect many many times on mmaped memory, so many times that for a non trivial workload we go past /proc/sys/vm/max_map_count leading to a ENOMEM error.
I haven't created a non julia reproducer but it should be possible.