When you import or export a large number of instances through XOG, you may encounter Out of Memory (OOM) or time-out exceptions. To handle these issues, you can now configure the Maximum XML Nodes option available under the Application tab in the CSA. The Maximum XML Nodes is referred as nodes limit in the document. The default value for the Maximum XML Nodes is 150,000 for both the On-Demand and On-Premise environments.
Before this release, for a XOG read request, the entire requested information was sent in a single response which resulted in the OOM or time-out exceptions. Starting this release, the server processes the instances until the node limit is reached. After processing the response is sent back to the client in chunks using pagination. A new read request should be sent to the server with the appropriate information using pagination for the next set of instances. The number of the processed instances for a read request is updated in the skip element of the XOG output.
When you import instances, the server processes 20 instances per iteration. If the node limit is reached even before the 20 instances are loaded, the server processes only those instances that have loaded until that point for the current iteration. The remaining instances are considered automatically for the next iteration.
Note: For more information about setting the XOG Governor limit, search the XML Open Gateway Developer's content.
|
Copyright © 2013 CA.
All rights reserved.
|
|