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.bat batch file. Change the line:
eclipse.exe -vm jdk-path\jre\bin\java
Add the -Xmx option to increase the Java VM heap size from the default. For example:
eclipse.exe -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 © 2005. Sybase Inc. All rights reserved. |
![]() |