Expired VeriSign root certificate  Running the Web services samples

Release Bulletin EAServer 5.0 for Linux

Eclipse runs out of memory when handling large return values

In Eclipse, when testing Web service calls to components that return very large values (say greater than 1 million bytes), the Java VM that runs Eclipse can run out of memory. To solve this problem, modify the starteclipse.sh script file. Change the line:

eclipse -vm jdk-path/jre/bin/java

—add the -Xmx option to increase the Java VM heap size from the default. For example:

eclipse -vm jdk-path/jre/bin/java -vmargs -Xmx512m

This example sets the Java VM heap size to 512 Megabytes, specified by 512m. You can adjust the size up or down as needed to prevent out-of-memory errors. For information on the syntax of the -Xmx option, see the Java command line documentation.





Copyright © 2004. Sybase Inc. All rights reserved. Running the Web services samples

View this release bulletin as PDF