I'm trying to fetch a rather large dataset/view out of Caspio with 95000+ rows and up to 16 fields. Unfortunately the Web service returns a System.OutOfMemoryException when the request consists of over 7 fields.
"{Internal error. Exception of type 'System.OutOfMemoryException' was thrown.}"
Any suggestions how to go around this unfortunate situation?
Came to my mind at first, to do a single request to retrieve unique ID's of all the rows, and then perform multiple requests to fetch all needed data based on these ID's. Have not tested it yet, but seems like the only alternative.
What would be the preferred way to fetch large datasets from Caspio's WS in the case of memory running out?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
hhelsky
Greetings!
I'm trying to fetch a rather large dataset/view out of Caspio with 95000+ rows and up to 16 fields. Unfortunately the Web service returns a System.OutOfMemoryException when the request consists of over 7 fields.
"{Internal error. Exception of type 'System.OutOfMemoryException' was thrown.}"
Any suggestions how to go around this unfortunate situation?
Came to my mind at first, to do a single request to retrieve unique ID's of all the rows, and then perform multiple requests to fetch all needed data based on these ID's. Have not tested it yet, but seems like the only alternative.
What would be the preferred way to fetch large datasets from Caspio's WS in the case of memory running out?
Best regards...
Henryk
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.