# [−][src]Constant zebra_checkpoints::MAX_CHECKPOINT_BYTE_COUNT

pub(crate) const MAX_CHECKPOINT_BYTE_COUNT: u64 = 32 * 1024 * 1024; // 0x0_000_000_002_000_000u64

We limit the memory usage for each checkpoint, based on the cumulative size of the serialized blocks in the chain. Deserialized blocks are slightly larger than serialized blocks, but they should be within a constant factor of the serialized size.