Thanks for your answer Jesse.
Yes, we are aware of the size limit. that's why, currently, we don't
use the "in" array with 3,5M integers. We just use the "out" array
which maximum size is 500 000 integers.
So, we're still wondering why there is an error, it may work.
Our graph is directed and contains cycles.
On 23 mai, 19:02, "A. Jesse Jiryu Davis" <
je...@10gen.com> wrote:
> Be aware of the 16MB-per-document limit -- if you have 3.5M integers in an
> array, each int will require a type header (1 byte), an index (about 8
> bytes, if your indexes are in the millions), and the int (4 bytes),
> resulting in around 16 bytes to store each int. So you can't store more
> than about 1M integers in a single document's array.
> Seehttp://
bsonspec.org/#/specification