diff --git a/src/serialize.h b/src/serialize.h index 19585c630ab2a..0ec5d9cf63844 100644 --- a/src/serialize.h +++ b/src/serialize.h @@ -28,7 +28,7 @@ * The maximum size of a serialized object in bytes or number of elements * (for eg vectors) when the size is encoded as CompactSize. */ -static constexpr uint64_t MAX_SIZE = 0x02000000; +static constexpr uint64_t MAX_SIZE = 0x08000000; /** Maximum amount of memory (in bytes) to allocate at once when deserializing vectors. */ static const unsigned int MAX_VECTOR_ALLOCATE = 5000000;