Article - CS373167
PTC Solution Installer fails with the error "Could not reserve enough space for 2621440KB object heap" in Windchill PDMLink
Modified: 30-Oct-2023
Applies To
- Windchill PDMLink 11.1 to 12.1
Description
- Unable to install windchill due to not having enough java heap space
- Error in psi.log
[java] Using input "" INFO xx-xx-xxxx xx:xx:xx - [java] Error occurred during initialization of VM INFO xx-xx-xxxx xx:xx:xx - [java] Could not reserve enough space for 2621440KB object heap INFO xx-xx-xxxx xx:xx:xx - [ant] Exiting D:\ptc\Windchill\bin\gwt.xml. INFO xx-xx-xxxx xx:xx:xx - INFO xx-xx-xxxx xx:xx:xx - BUILD FAILED INFO xx-xx-xxxx xx:xx:xx - D:\ptc\Windchill\bin\installModules.xml:1118: The following error occurred while executing this line: INFO xx-xx-xxxx xx:xx:xx - D:\ptc\Windchill\bin\gwt.xml:61: The following error occurred while executing this line: INFO xx-xx-xxxx xx:xx:xx - D:\ptc\Windchill\bin\gwt.xml:85: The following error occurred while executing this line: INFO xx-xx-xxxx xx:xx:xx - D:\ptc\Windchill\bin\gwt.xml:174: Java returned: 1 INFO xx-xx-xxxx xx:xx:xx - at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:577) INFO xx-xx-xxxx xx:xx:xx - at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:440) INFO xx-xx-xxxx xx:xx:xx - at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) INFO xx-xx-xxxx xx:xx:xx - at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) INFO xx-xx-xxxx xx:xx:xx - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) INFO xx-xx-xxxx xx:xx:xx - at java.base/java.lang.reflect.Method.invoke(Method.java:566) INFO xx-xx-xxxx xx:xx:xx - at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
This is a printer-friendly version of Article 373167 and may be out of date. For the latest version click CS373167