ZeroFormatter
ZeroFormatter copied to clipboard
Serialize limit
Hello, i encountered error on trying to serialize a lot amount of data. The project attached show the problem. Maybe is there a limit of serialization to 1 GB of bytes?
Can someone explain me better the limit? Thanks a lot. Best regards
[MillionsZeroFormatters.zip] (https://github.com/neuecc/ZeroFormatter/files/1441812/MillionsZeroFormatters.zip)
I am seeing the same issue... a hard limit of 1GB. I am able to serialize an object graph to a file size of 1GB, 11,184,815 elements of my object in an array. However, if I increase the array size by 1, ZeroFormatter enters a seemingly infinitely loop and never returns from Serialize(). I should note that I see the same issue when using a MemoryStream
rather than FileStream
.
Here, note the memory consumption when the serialization is successful. This produces a file of 1,073,742,244 bytes.
Here, with one more element. This continues forever (hours at least).
@neuecc, are you aware of such a limitation?
Thanks.