Opened 3 years ago
Last modified 12 days ago
#17226 new bug
libroot: malloc() can't allocate more then 1063315264 bytes
Reported by: | X512 | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | System/libroot.so | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | #13554 | Blocking: | |
Platform: | All |
Description
This is hrev55275.
Problem code: https://git.haiku-os.org/haiku/tree/src/system/libroot/posix/malloc_hoard2/threadheap.cpp#n48.
Causing icu66 build failure on riscv64.
Change History (3)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
It looks like if you set MAX_INTERNAL_FRAGMENTATION to 10, you can get up to 2GB. Good enough until we replace the allocator?
comment:3 by , 12 days ago
Blocked By: | 13554 added |
---|
Note:
See TracTickets
for help on using tickets.
Why does ICU allocate 1GB during the build, anyway?
We really need to replace hoard2, but musl's malloc has those performance issues ... possibly I should look into patching it a bit more.