In Eclipse, when testing Web service calls to components that return very large values (greater than 1 million bytes), the Java VM that runs Eclipse may run out of memory. To solve this problem, modify the starteclipse.sh script file. Change this line; adding the -Xmx option to increase the Java VM heap size from the default:
eclipse -vm jdk-path/jre/bin/java
For example:
eclipse -vm jdk-path/jre/bin/java -vmargs -Xmx512m
This example sets the Java VM heap size to 512MB, 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 © 2005. Sybase Inc. All rights reserved. |
![]() |