I'm trying to install the product InstallAnywhere2018 on Windows 10 and after several attempts including compatibility modes, running as admin and checking my system path for the Java variables I still get the same error:
java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.<init>(Unknown Source)
at java.awt.image.Raster.createPackedRaster(Unknown Source)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
at java.awt.image.BufferedImage.<init>(Unknown Source)
at sun.awt.windows.TranslucentWindowPainter$BIWindowPainter.getBackBuffer(Unknown Source)
at sun.awt.windows.TranslucentWindowPainter.updateWindow(Unknown Source)
at sun.awt.windows.WWindowPeer.updateWindow(Unknown Source)
at sun.awt.windows.WWindowPeer.show(Unknown Source)
at sun.awt.windows.WComponentPeer.setVisible(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Window.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at Flexeraat0.setVisible(Unknown Source)
at Flexeraat0.aj(Unknown Source)
at com.zerog.ia.installer.AAMgr.a0(Unknown Source)
at com.zerog.ia.installer.AAMgr.ac(Unknown Source)
at com.zerog.ia.installer.AAMgrBase.runPreInstall(Unknown Source)
at com.zerog.ia.installer.AAMgr.runPreInstall(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.b0(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.a5(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
Any ideas of how to solve this issue?
Thanks.
Setup JAVA_OPTS as a system variable with the following content, the heap size you want. Java should be able to find it and act accordingly :
JAVA_OPTS="-Xms1G -Xmx2G"
After that in a command prompt run the following commands:
SET JAVA_OPTS="-Xms1G -Xmx2G"
This can be explained as follows:
Once it crashes you need to find ISTPv2Setup.lax
file in your C:\Users\[your_username]\AppData\Local\Temp\I[a_lot_of_numbers_here]\Windows
. And replace the last line in the ISTPv2Setup.lax file being this:
lax.nl.java.option.additional=
with this:
lax.nl.java.option.additional=-Xms1g -Xmx2g
This also works when getting a stack trace like this:
java.lang.NullPointerException
at com.zerog.ia.installer.AAMgr.initAAMgr(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.a6(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
The real exception is in C:\Users\[your_username]\AppData\Local\Temp\lax-[a_lot_of_numers]-err.tmp
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.