Fri May 11, 2018 8:25 pm
It's possible that the API client you're using isn't handling the network buffers well, so by the time it's finished processing what it has, the incoming packets have timed out, and it's not retrying. Or another possibility is that you have so many users in your client device's memory, that it can't fit all users in it, so it simply fails to insert new ones beyond a point.
Dealing with either of those is client specific though, so I can't help without you telling what language and API client you're using.
Another client agnostic way you can do... You could do one "find" call to get all users' IDs, in a ";" separated list. Split it, and loop over it. For each user ID, call a "print" with a "from" argument having that ID.
This is very time inefficient for a small number of users, because each API call is the most costly part, but it is very memory efficient, because each reply contains only one item and can be discarded as soon as the next one comes in.