Hi,
I wrote a java component for OpenOffice, but unfortunately, it needs too
much memory which results in a jvm heap overflow.
Is there any way to increate the jvm heap size for OpenOffice?
Thanks
Michael
-
To unsubscribe,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
add the following parameters to the java options
(Tools - Options... - OpenOffice.org - Java - Parameters...)
- -Xms64M(min)
- -Xmx128M (max)
if you want to watch your programs behaviour you can use
the parameter (java 1.5 is required)
-
Although you can use a -X option, bear in mind that this is only sure to
work with a Sun JRE. IMHO you should file an issue with the Java guys.
The VM should adjust their heap size dynamically. Native applications
(running on modern hardware and OS) typically do not have this
restriction. They