I get the following exception when I try to upload a file (33MB) with a webservice in ivy 4.3.21: org.apache.axis2.AxisFault: java.lang.OutOfMemoryError: Java heap space at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486) at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163) at devd3.d3wservicegen.D3WServiceStub.ImportDocument(D3WServiceStub.java:14234) 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 ch.ivyteam.ivy.webservice.restricted.exec.axis2.WebServiceCallAxis2.invokeMethod(WebServiceCallAxis2.java:687) at ch.ivyteam.ivy.webservice.restricted.exec.axis2.WebServiceCallAxis2.executeCall(WebServiceCallAxis2.java:454) at ch.ivyteam.ivy.webservice.restricted.exec.axis2.WebServiceCallAxis2.perform(WebServiceCallAxis2.java:258) at ch.ivyteam.ivy.webservice.restricted.execution.WebServiceCallBean.executeAxisWebServiceCall(WebServiceCallBean.java:239) at ch.ivyteam.ivy.webservice.restricted.execution.WebServiceCallBean.perform(WebServiceCallBean.java:355) at ch.ivyteam.ivy.process.engine.internal.io.extension.ProcessExtensionJob.run(ProcessExtensionJob.java:298) at ch.ivyteam.ivy.process.engine.internal.io.extension.ProcessExtensionThread.runAsSystem(ProcessExtensionThread.java:271) at ch.ivyteam.ivy.process.engine.internal.io.extension.ProcessExtensionThread$1.call(ProcessExtensionThread.java:219) at ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1404) at ch.ivyteam.ivy.process.engine.internal.io.extension.ProcessExtensionThread.run(ProcessExtensionThread.java:214) Is there a simple way to increase the java heap space or is there any other solution available to upload bigger files? A file with 24MB can be uploaded without any problem. The webservice would support MTOM and excepts the file data as an javax.activation.DataHandler object. asked 16.05.2014 at 11:48 Marco Birchler |
Since 7.4 you can also set the heap size on a Axon.ivy Engine by using jvm.options files Before 7.4 you need to use the .ilc file for windows this chapter and the .conf file for linux this chapter. answered 16.05.2014 at 16:39 Reto Weiss ♦♦ Alex Suter ♦♦ |
To increasing the default HeapSize of your underlaying tomcat you can modify the designer.ini file and add
For a windows-ivy-server you can set a new environment variable. And use the 'set environment' file to 'setenv.bat' in your 'ivyserverfolder/bin'.
If you use Linux export the line in your 'setenv.sh' placed in your 'ivyserverfolder\bin'.
Do not simply set it to your max memory. The error may be in your code. answered 16.05.2014 at 14:01 Daniel Oechslin 1
Note that you can only use something between 1 and 1.5 GB memory with a 32bit JRE. If you need more memory, then please use the 64bit Designer
(20.05.2014 at 07:54)
MichaelDänzer ♦
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 16.05.2014 at 11:48
Seen: 7,218 times
Last updated: 02.09.2019 at 05:31