+ Start a Discussion

Out of Memory Error in AxisClient.invoke

I attempted to use the query call to get all of the leads a client has, which was over 20K through the API using Axis, and I got an out of memory error in the AxisClient.invoke method. Has anyone else experienced this. What is the best way to download large amounts of data through the API?
Hmm - thats a good one.  About how many records are you retrieving?  FWIW, the new API (to be released next month) supports server side cursors, so you will be able to fix this by only grabbing n records at a time.
It was alot of records, over 20K. I'm open to other methods of getting the data. I assume there must be a way since data junction can pull large quantities of data.