Closed airs0urce closed 12 years ago
Nice catch. Edge case in the buffer stream handling.
Hmm, I just got this using 1.1.18
Error: Buffer is not large enough. Expected 1702127876, have 36
Unfortunately I don't know where it came from, I'm catching bugs in production with on('uncaughtException') and the toString() only reports this.
Will do more research.
This error is thrown when theres not enough memory to handle the query results? Or , when does this git thrown ?
I have collection with just 151 elements (http://dl.dropbox.com/u/1875424/players_collection.txt). There is a problem with big amount of find command executions.
For example I run this code on collection I sent above:
As result I have this exception after couple seconds: