Thanks for giving this a look. On Wed, 10 Aug 2022 at 02:37, Robert Haas <robertmh...@gmail.com> wrote: > # We also add a restriction that block sizes for all 3 of the memory > # allocators cannot be 1GB or larger. We would be unable to store the > # number of bytes that the block is offset from the chunk stored beyond this > #1GB boundary on any block that was larger than 1GB. > > Earlier in the commit message, you say that allocations of 1GB or more > are stored in dedicated blocks. But here you say that blocks can't be > more than 1GB. Those statements seem to contradict each other. I guess > you mean block sizes for blocks that contain chunks, or something like > that?
I'll update that so it's more clear. But, just to clarify here first, the 1GB restriction is just in regards to the maxBlockSize parameter when creating a context. Anything over set->allocChunkLimit goes on a dedicated block and there is no 1GB size restriction on those dedicated blocks. David