Trusted Contributor.. Trusted Contributor..
Trusted Contributor..

Big input via REST API/Debug causes JVM HEAP SPACE error

Hi, we have to get via a request to our ESB a big file (the full requirement is to receive asynchornously a lot of files), some of them may have between 50 - 100 MB (base64 encoded text) - we are trying to set a flow variable with this big value as a testing (a 55 MB text)  but we get a java heap space error. We adjust some parameters according to this post https://community.softwaregrp.com/t5/Operations-Orchestration-User/OO-Support-Tip-Java-Heap-size-is-getting-Full/td-p/1642855 and nothing. So we checked the heap dump and noticed that are several objects with the same content (also repeated twice).


Do you have a similar problem maybe once?


Any help would be so much appreciated!


Thanks, Alexis.


PS.: OO 10.60 - SQL Server 2014 - Windows Server 2012R2 - 4 cores, 4 GB RAM, JVM heap space: 3GB

2 Replies
Super Contributor.
Super Contributor.

Hello Alexis,

              Could  you please describe how you're trying to implement such a request? Is it an API call, an OO flow with a Javascript scriptlet?

Can you please also provide the exact error (with error code if available) you get?

Are you getting the error on Central, Studio or both?


Thank you!

Luis Quiros
Customer Support Engineer

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
Respected Contributor.. Respected Contributor..
Respected Contributor..

Hello  alescaramanzia,

OO is really not very good on this point.
We had performed tests and with a jvm limited to 4GB, we could have maximum execution without parallel branch loading a file of such a size (~ 70Mb)

On a platform that runs several tens or hundreds of flows simultaneously, we try not to exceed 1 MB and sometimes we still have problems.
I think it depends on a lot of parameters (number of threads, buffer, type of flows executed) but it is sure that OO is not made for data processing...

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.