Try OpenEdge Now
skip to main content
Administration
REST Administration : REST Management Agent Administration : Installing and Configuring REST Management Agent : Tuning the Java container to handle large Web service messages
 
Tuning the Java container to handle large Web service messages
If your Web service attempts to send a large amount of data to a client (for example, 10 MB in a single REST message), the Java container might fail to send the Web service response message for the client request, effectively causing the Web service to hang. To solve or prevent this problem, you can increase the size of the memory allocation pool in the Java Virtual Machine (JVM) for the Java container that runs the OpenEdge REST Management Agent.
To increase this allocation pool, set the -Xmxsize JVM startup option to a higher value. For example, you might set the value to 512 MB by specifying this option as -Xmx512m.
For more information on this option and JVM memory management, see the documentation on tuning garbage collection with the JVM available at the Java Web site.