This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Manually set Max Java Heap Size
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2009
02:20 AM
Java Heap space
Stack Trace:
java.lang.OutOfMemoryError: Java heap space
at java.text.RuleBasedBreakIterator.readFile(Unknown Source)
at java.text.RuleBasedBreakIterator.readTables(Unknown Source)
at java.text.RuleBasedBreakIterator.(Unknown Source)
at java.text.BreakIterator.createBreakInstance(Unknown Source)
at java.text.BreakIterator.getBreakInstance(Unknown Source)
at java.text.BreakIterator.getLineInstance(Unknown Source)
at javax.swing.text.TextLayoutStrategy.sync(Unknown Source)
at javax.swing.text.TextLayoutStrategy.insertUpdate(Unknown Source)
at javax.swing.text.FlowView.loadChildren(Unknown Source)
at javax.swing.text.CompositeView.setParent(Unknown Source)
at javax.swing.text.FlowView.setParent(Unknown Source)
at javax.swing.plaf.basic.BasicTextAreaUI$PlainParagraph.setParent(Unkno
wn Source)
at javax.swing.text.CompositeView.replace(Unknown Source)
at javax.swing.text.BoxView.replace(Unknown Source)
at javax.swing.text.CompositeView.loadChildren(Unknown Source)
at javax.swing.text.CompositeView.setParent(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI$RootView.setView(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI.setView(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI.modelChanged(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.propertyChange(Unkno
wn Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.awt.Component.firePropertyChange(Unknown Source)
at javax.swing.text.JTextComponent.setEditable(Unknown Source)
at ZeroGiw.setEditable(DashoA10*..)
at com.zerog.ia.installer.actions.LicenseAgrAction.n(DashoA10*..)
at com.zerog.ia.installer.installpanels.LicenseAgrActionPanel.h(DashoA10
*..)
at com.zerog.ia.installer.installpanels.LicenseAgrActionPanel.g(DashoA10
*..)
at com.zerog.ia.installer.installpanels.LicenseAgrActionPanel.b(DashoA10
*..)
at com.zerog.ia.api.priv.ZGInstallPanelProxy.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.d(DashoA10*..)
Please suggest about the above error,
getting while extracting the setup file in windows xp
java.lang.OutOfMemoryError: Java heap space
at java.text.RuleBasedBreakIterator.readFile(Unknown Source)
at java.text.RuleBasedBreakIterator.readTables(Unknown Source)
at java.text.RuleBasedBreakIterator.
at java.text.BreakIterator.createBreakInstance(Unknown Source)
at java.text.BreakIterator.getBreakInstance(Unknown Source)
at java.text.BreakIterator.getLineInstance(Unknown Source)
at javax.swing.text.TextLayoutStrategy.sync(Unknown Source)
at javax.swing.text.TextLayoutStrategy.insertUpdate(Unknown Source)
at javax.swing.text.FlowView.loadChildren(Unknown Source)
at javax.swing.text.CompositeView.setParent(Unknown Source)
at javax.swing.text.FlowView.setParent(Unknown Source)
at javax.swing.plaf.basic.BasicTextAreaUI$PlainParagraph.setParent(Unkno
wn Source)
at javax.swing.text.CompositeView.replace(Unknown Source)
at javax.swing.text.BoxView.replace(Unknown Source)
at javax.swing.text.CompositeView.loadChildren(Unknown Source)
at javax.swing.text.CompositeView.setParent(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI$RootView.setView(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI.setView(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI.modelChanged(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.propertyChange(Unkno
wn Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.awt.Component.firePropertyChange(Unknown Source)
at javax.swing.text.JTextComponent.setEditable(Unknown Source)
at ZeroGiw.setEditable(DashoA10*..)
at com.zerog.ia.installer.actions.LicenseAgrAction.n(DashoA10*..)
at com.zerog.ia.installer.installpanels.LicenseAgrActionPanel.h(DashoA10
*..)
at com.zerog.ia.installer.installpanels.LicenseAgrActionPanel.g(DashoA10
*..)
at com.zerog.ia.installer.installpanels.LicenseAgrActionPanel.b(DashoA10
*..)
at com.zerog.ia.api.priv.ZGInstallPanelProxy.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.d(DashoA10*..)
Please suggest about the above error,
getting while extracting the setup file in windows xp
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2009
02:21 AM
cwd: C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows
cmd: "C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\r
esource\jre\bin\java.exe" -Xms16777216 -Xmx50331648 -classpath "C:\Documents and
Settings\tonias\Local Settings\Temp\I1246886020\InstallerData\IAClasses.zip;C:\
Documents and Settings\tonias\Local Settings\Temp\I1246886020\InstallerData\Exec
ute.zip;C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows
\InstallerData\Execute.zip;C:\Documents and Settings\tonias\Local Settings\Temp\
I1246886020\InstallerData\Resource1.zip;C:\Documents and Settings\tonias\Local S
ettings\Temp\I1246886020\Windows\InstallerData\Resource1.zip;C:\Documents and Se
ttings\tonias\Local Settings\Temp\I1246886020\InstallerData;C:\Documents and Set
tings\tonias\Local Settings\Temp\I1246886020\Windows\InstallerData;" com.zerog.l
ax.LAX "C:/Documents and Settings/tonias/Local Settings/Temp/I1246886020/Windows
/Setup.lax" "C:/Documents and Settings/tonias/Local Settings/Temp/lax999.tmp"
LAX Version = 9.5
IAResourceBundle: create resource bundle: en
__________________________________________________________________________
InstallAnywhere 2008 VP1
Version: 9.5
__________________________________________________________________________
Mon Jul 06 16:14:19 IDT 2009
Free Memory: 15147 kB
Total Memory: 16320 kB
No Arguments
java.class.path:
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\InstallerDa
ta\IAClasses.zip
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\InstallerDa
ta\Execute.zip
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\Ins
tallerData\Execute.zip
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\InstallerDa
ta\Resource1.zip
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\Ins
tallerData\Resource1.zip
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\InstallerDa
ta
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\Ins
tallerData
ZGUtil.CLASS_PATH:
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\InstallerDa
ta\IAClasses.zip
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\InstallerDa
ta\Execute.zip
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\InstallerDa
ta
sun.boot.class.path:
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\res
ource\jre\lib\rt.jar
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\res
ource\jre\lib\i18n.jar
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\res
ource\jre\lib\sunrsasign.jar
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\res
ource\jre\lib\jsse.jar
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\res
ource\jre\lib\jce.jar
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\res
ource\jre\lib\charsets.jar
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\res
ource\jre\classes
java.ext.dirs:
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\res
ource\jre\lib\ext
java.version == 1.5.0_14 (Java 2+)
java.vm.name == Java HotSpot(TM) Client VM
java.vm.vendor == Sun Microsystems Inc.
java.vm.version == 1.5.0_14-b03
java.vm.specification.name == Java Virtual Machine Specification
java.vm.specification.vendor == Sun Microsystems Inc.
java.vm.specification.version == 1.0
java.specification.name == Java Platform API Specification
java.specification.vendor == Sun Microsystems Inc.
java.specification.version == 1.5
java.vendor == Sun Microsystems Inc.
java.vendor.url == http://java.sun.com/
java.class.version == 49.0
java.compiler == null
java.home == C:\Documents and Settings\tonias\Local Settings
\Temp\I1246886020\Windows\resource\jre
java.io.tmpdir == C:\DOCUME~1\tonias\LOCALS~1\Temp\
os.name == Windows XP
os.arch == x86
os.version == 5.1
path.separator == ;
file.separator == \
file.encoding == Cp1255
user.name == tonias
user.home == C:\Documents and Settings\tonias
user.dir == C:\Documents and Settings\tonias\Local Settings
\Temp\I1246886020\Windows
user.language == iw
user.region == null
__________________________________________________________________________
System's temporary directory = C:\Documents and Settings\tonias\Local Settings\T
emp
Loading externalized properties
java.lang.OutOfMemoryError: Java heap space
at java.text.RuleBasedBreakIterator.readFile(Unknown Source)
at java.text.RuleBasedBreakIterator.readTables(Unknown Source)
at java.text.RuleBasedBreakIterator.(Unknown Source)
at java.text.BreakIterator.createBreakInstance(Unknown Source)
at java.text.BreakIterator.getBreakInstance(Unknown Source)
at java.text.BreakIterator.getLineInstance(Unknown Source)
at javax.swing.text.TextLayoutStrategy.sync(Unknown Source)
at javax.swing.text.TextLayoutStrategy.insertUpdate(Unknown Source)
at javax.swing.text.FlowView.loadChildren(Unknown Source)
at javax.swing.text.CompositeView.setParent(Unknown Source)
at javax.swing.text.FlowView.setParent(Unknown Source)
at javax.swing.plaf.basic.BasicTextAreaUI$PlainParagraph.setParent(Unkno
wn Source)
at javax.swing.text.CompositeView.replace(Unknown Source)
at javax.swing.text.BoxView.replace(Unknown Source)
at javax.swing.text.CompositeView.loadChildren(Unknown Source)
at javax.swing.text.CompositeView.setParent(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI$RootView.setView(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI.setView(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI.modelChanged(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.propertyChange(Unkno
wn Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.awt.Component.firePropertyChange(Unknown Source)
at javax.swing.text.JTextComponent.setEditable(Unknown Source)
at ZeroGiw.setEditable(DashoA10*..)
at com.zerog.ia.installer.actions.LicenseAgrAction.n(DashoA10*..)
at com.zerog.ia.installer.installpanels.LicenseAgrActionPanel.h(DashoA10
*..)
at com.zerog.ia.installer.installpanels.LicenseAgrActionPanel.g(DashoA10
*..)
at com.zerog.ia.installer.installpanels.LicenseAgrActionPanel.b(DashoA10
*..)
at com.zerog.ia.api.priv.ZGInstallPanelProxy.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.d(DashoA10*..)
Invocation of this Java Application has caused an InvocationTargetException. Thi
s application will now exit. (LAX)
cmd: "C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\r
esource\jre\bin\java.exe" -Xms16777216 -Xmx50331648 -classpath "C:\Documents and
Settings\tonias\Local Settings\Temp\I1246886020\InstallerData\IAClasses.zip;C:\
Documents and Settings\tonias\Local Settings\Temp\I1246886020\InstallerData\Exec
ute.zip;C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows
\InstallerData\Execute.zip;C:\Documents and Settings\tonias\Local Settings\Temp\
I1246886020\InstallerData\Resource1.zip;C:\Documents and Settings\tonias\Local S
ettings\Temp\I1246886020\Windows\InstallerData\Resource1.zip;C:\Documents and Se
ttings\tonias\Local Settings\Temp\I1246886020\InstallerData;C:\Documents and Set
tings\tonias\Local Settings\Temp\I1246886020\Windows\InstallerData;" com.zerog.l
ax.LAX "C:/Documents and Settings/tonias/Local Settings/Temp/I1246886020/Windows
/Setup.lax" "C:/Documents and Settings/tonias/Local Settings/Temp/lax999.tmp"
LAX Version = 9.5
IAResourceBundle: create resource bundle: en
__________________________________________________________________________
InstallAnywhere 2008 VP1
Version: 9.5
__________________________________________________________________________
Mon Jul 06 16:14:19 IDT 2009
Free Memory: 15147 kB
Total Memory: 16320 kB
No Arguments
java.class.path:
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\InstallerDa
ta\IAClasses.zip
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\InstallerDa
ta\Execute.zip
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\Ins
tallerData\Execute.zip
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\InstallerDa
ta\Resource1.zip
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\Ins
tallerData\Resource1.zip
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\InstallerDa
ta
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\Ins
tallerData
ZGUtil.CLASS_PATH:
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\InstallerDa
ta\IAClasses.zip
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\InstallerDa
ta\Execute.zip
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\InstallerDa
ta
sun.boot.class.path:
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\res
ource\jre\lib\rt.jar
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\res
ource\jre\lib\i18n.jar
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\res
ource\jre\lib\sunrsasign.jar
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\res
ource\jre\lib\jsse.jar
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\res
ource\jre\lib\jce.jar
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\res
ource\jre\lib\charsets.jar
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\res
ource\jre\classes
java.ext.dirs:
C:\Documents and Settings\tonias\Local Settings\Temp\I1246886020\Windows\res
ource\jre\lib\ext
java.version == 1.5.0_14 (Java 2+)
java.vm.name == Java HotSpot(TM) Client VM
java.vm.vendor == Sun Microsystems Inc.
java.vm.version == 1.5.0_14-b03
java.vm.specification.name == Java Virtual Machine Specification
java.vm.specification.vendor == Sun Microsystems Inc.
java.vm.specification.version == 1.0
java.specification.name == Java Platform API Specification
java.specification.vendor == Sun Microsystems Inc.
java.specification.version == 1.5
java.vendor == Sun Microsystems Inc.
java.vendor.url == http://java.sun.com/
java.class.version == 49.0
java.compiler == null
java.home == C:\Documents and Settings\tonias\Local Settings
\Temp\I1246886020\Windows\resource\jre
java.io.tmpdir == C:\DOCUME~1\tonias\LOCALS~1\Temp\
os.name == Windows XP
os.arch == x86
os.version == 5.1
path.separator == ;
file.separator == \
file.encoding == Cp1255
user.name == tonias
user.home == C:\Documents and Settings\tonias
user.dir == C:\Documents and Settings\tonias\Local Settings
\Temp\I1246886020\Windows
user.language == iw
user.region == null
__________________________________________________________________________
System's temporary directory = C:\Documents and Settings\tonias\Local Settings\T
emp
Loading externalized properties
java.lang.OutOfMemoryError: Java heap space
at java.text.RuleBasedBreakIterator.readFile(Unknown Source)
at java.text.RuleBasedBreakIterator.readTables(Unknown Source)
at java.text.RuleBasedBreakIterator.
at java.text.BreakIterator.createBreakInstance(Unknown Source)
at java.text.BreakIterator.getBreakInstance(Unknown Source)
at java.text.BreakIterator.getLineInstance(Unknown Source)
at javax.swing.text.TextLayoutStrategy.sync(Unknown Source)
at javax.swing.text.TextLayoutStrategy.insertUpdate(Unknown Source)
at javax.swing.text.FlowView.loadChildren(Unknown Source)
at javax.swing.text.CompositeView.setParent(Unknown Source)
at javax.swing.text.FlowView.setParent(Unknown Source)
at javax.swing.plaf.basic.BasicTextAreaUI$PlainParagraph.setParent(Unkno
wn Source)
at javax.swing.text.CompositeView.replace(Unknown Source)
at javax.swing.text.BoxView.replace(Unknown Source)
at javax.swing.text.CompositeView.loadChildren(Unknown Source)
at javax.swing.text.CompositeView.setParent(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI$RootView.setView(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI.setView(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI.modelChanged(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.propertyChange(Unkno
wn Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.awt.Component.firePropertyChange(Unknown Source)
at javax.swing.text.JTextComponent.setEditable(Unknown Source)
at ZeroGiw.setEditable(DashoA10*..)
at com.zerog.ia.installer.actions.LicenseAgrAction.n(DashoA10*..)
at com.zerog.ia.installer.installpanels.LicenseAgrActionPanel.h(DashoA10
*..)
at com.zerog.ia.installer.installpanels.LicenseAgrActionPanel.g(DashoA10
*..)
at com.zerog.ia.installer.installpanels.LicenseAgrActionPanel.b(DashoA10
*..)
at com.zerog.ia.api.priv.ZGInstallPanelProxy.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.d(DashoA10*..)
Invocation of this Java Application has caused an InvocationTargetException. Thi
s application will now exit. (LAX)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2009
02:22 AM
can anybody please suggest about above error
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2009
03:08 AM
Can you post your project?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2009
04:35 AM
Hi,
it is not reproducing at my end. but it is reproducing at customer end:)
please suggest any suggestions
it is not reproducing at my end. but it is reproducing at customer end:)
please suggest any suggestions
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2009
05:28 AM
Well, you could ask the end user to verify the integrity of the downloaded setup (md5sum). Then check with them if they're installing with Administrator rights (if needed) and if they've got enough resources (memory, disk space etc.) Finally, they should try to see if it happens on more than one machine.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2011
09:00 AM
This is an old post, so I am guessing you already figured this out, but for those who stumble across this issue (I did in an InstallAnywhere 2010 package), here is a possible solution:
Under Project -> Config, enter the following Java argument in the 'Optional Installer Arguments' section:
-Xmx[size]m
where [size] = the size of heap that you feel you need. Make sure the target systems have enough available memory or you will create additional problems for yourself.
A real world example for setting the Java Max Heap Size to 1GB would be:
-Xmx1024M
Hope this helps
Under Project -> Config, enter the following Java argument in the 'Optional Installer Arguments' section:
-Xmx[size]m
where [size] = the size of heap that you feel you need. Make sure the target systems have enough available memory or you will create additional problems for yourself.
A real world example for setting the Java Max Heap Size to 1GB would be:
-Xmx1024M
Hope this helps
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)