2Gb is unreasonably low on devices with 12Gb RAM and more.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
200 ms | windows > LLVM.Other::statistic.ll |
Event Timeline
Comment Actions
This costs 4 bytes per allocation.
We could save some memory by splitting primary and secondary allocator metadata types, but that would require significant code refactoring.
Comment Actions
Do we even need a limit at this level any more if the implementation supports up to 2^63 sizes? I guess any address-space imposed limit would be enforced by mmap failing when we go to make a large secondary allocation.
Comment Actions
I think it's good to have a limit so that allocation attempts with obviously wrong sizes are rejected with a clear message.