[CR #256425] Importing large schemas causes an OutOfMemory exception to be thrown.
Workaround: To increase the amount of memory available, set the maximum Java heap size:
Using a text editor, open the MessageBridge/bin/msgbridge.bat file.
Look for the line that begins java -Duser.home="%MB%"
.
Insert “-Xmx <size n>” after “java” in the file. For example, this code sets the maximum heap size to 256MB:
java -Xmx 256M -Duser.home="%MB%" -Dinstall.path="%MB%" -Djdk.home="%JDK_HOME%" -classpath %_mbclasspath% com.sybase.mworks.msgws.MB
Sybase recommends that you set the maximum heap size to large values to prevent a very large DTD or XML schema from causing a “VM out of memory” error.
For more information about this argument, see the JVM documentation from Sun.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |