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
- :
- Project compile error - java.lang.OutOfMemoryError
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
Nov 20, 2014
02:41 PM
Project compile error - java.lang.OutOfMemoryError
Can anybody help with the following issue:
Compiling a IA 2014 via the ANT Task
IAlocation="C:\Program Files (x86)\InstallAnywhere 2014"
IAProjectFile="project.iap_xml"
failonerror="true" />
Get the following error which aborts the build.
[InstallAnywhere] Unable to invoke the method:
[InstallAnywhere] ProductInformationProperty.setPropertyValue(String)
[InstallAnywhere] Some installer configuration information may be lost
[InstallAnywhere] java.lang.OutOfMemoryError: Java heap space
Compiling same project from IA 2014 IDE is successful.
I have tried setting ANT_OPTS=-Xmx720m (i am using java 1.7.0_60-b19)
Compiling a IA 2014 via the ANT Task
IAlocation="C:\Program Files (x86)\InstallAnywhere 2014"
IAProjectFile="project.iap_xml"
failonerror="true" />
Get the following error which aborts the build.
[InstallAnywhere] Unable to invoke the method:
[InstallAnywhere] ProductInformationProperty.setPropertyValue(String)
[InstallAnywhere] Some installer configuration information may be lost
[InstallAnywhere] java.lang.OutOfMemoryError: Java heap space
Compiling same project from IA 2014 IDE is successful.
I have tried setting ANT_OPTS=-Xmx720m (i am using java 1.7.0_60-b19)
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 20, 2014
08:18 PM
Project compile error - java.lang.OutOfMemoryError - Solved
When the following is executed:
IAlocation="${InstallAnywhere}"
IAProjectFile="${XBSInstallerRoot}\xinst\xbsia.iap_xml"
failonerror="true" />
It actually invokes ? C:\Program Files (x86)\InstallAnywhere 2014\build.exe
There is a properties file associated with build.exe ? C:\Program Files (x86)\InstallAnywhere 2014\build.lax
In the file: build.lax file I increased (doubled) the value of: LAX.NL.JAVA.OPTION.JAVA.HEAP.SIZE.MAX
From: lax.nl.java.option.java.heap.size.max=134217728
To: lax.nl.java.option.java.heap.size.max=268435456
When the following is executed:
IAlocation="${InstallAnywhere}"
IAProjectFile="${XBSInstallerRoot}\xinst\xbsia.iap_xml"
failonerror="true" />
It actually invokes ? C:\Program Files (x86)\InstallAnywhere 2014\build.exe
There is a properties file associated with build.exe ? C:\Program Files (x86)\InstallAnywhere 2014\build.lax
In the file: build.lax file I increased (doubled) the value of: LAX.NL.JAVA.OPTION.JAVA.HEAP.SIZE.MAX
From: lax.nl.java.option.java.heap.size.max=134217728
To: lax.nl.java.option.java.heap.size.max=268435456