Expand description
Custom global allocator which doesn’t assume 32 KiB heap size.
Default Solana allocator assumes there’s only 32 KiB of available heap space. Since heap size can be changed per-transaction, this assumption is not always accurate. This module defines a global allocator which doesn’t assume size of available space.
Macros§
- custom_
global - On Solana, defines
BumpAllocatoras the global allocator with given global state. - custom_
heap - On Solana, defines
BumpAllocatoras the global allocator.