Opened 5 years ago
Last modified 5 years ago
#15072 new bug
ASLR is too aggressive; fragments address space
Reported by: | waddlesplash | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | System/Kernel | Version: | R1/Development |
Keywords: | Cc: | korli | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
On 32-bit Haiku, the ASLR implementation randomizes too much, and winds up fragmenting the address space to the point where after 1/4 (~500MB) of it is used, area creation can begin failing.
For now (hrev53143) I've disabled ASLR for malloc; this makes the system much more stable (and wastes less memory too, it appears.)
Note:
See TracTickets
for help on using tickets.
CC korli: this could probably be why OpenJDK has such problems on 32-bit, because it uses mmap() to get memory instead of malloc().