# MAX_SIZE

> `const` **MAX\_SIZE**: `bigint` = `INTERNAL_MAX_PAYLOAD_SIZE`

Defined in: [packages/synapse-core/src/piece/sizing.ts:46](https://github.com/FilOzone/synapse-sdk/blob/bae2892884beb7847c063fe752728035b986732a/packages/synapse-core/src/piece/sizing.ts#L46)

Maximum payload size that a single PieceCID can represent (limited by the
1-byte tree height field).