Dondon22 Respected Contributor.
Respected Contributor.
506 views

OO 10.70 - Unable to recover smoothly on java.lang.OutOfMemoryError: Java heap space Error

Hi!

It occured to me several times that when I encountered java.lang.OutOfMemoryError: Java heap space error, OO cannot recover even if I restart the service... keeps on crashing and crashing and crashing... until I restore the database...

This is not good... MS support team do not know exactly what to do but suggest to restore the database when everything else fails...

In the old OO 9.07, when I encounter this error, everything goes back to normal operations after I restart the service but this is not the case for OO 10.70 so I need your advise... what to do? which table to check? what record to delete? something like this because this new version of OO is data driven...

THANKS IN ADVANCE!

Regards,

DON

In IT there is no Magic, just Logic ^_^
0 Likes
4 Replies
Micro Focus Expert
Micro Focus Expert

Re: OO 10.70 - Unable to recover smoothly on java.lang.OutOfMemoryError: Java heap space Error

Hi,

The reason this happens is that most likely the heap space error is generated by a running flow. When central crashes with that error it recovers and attempts to continue the execution where it left off then crashes again.

The only exception to this rule is when there is some missleading data in the db for active executions and central keeps trying to resume something that doesn't exist.

In both cases the solution mentioned works, however there can be other ways to solve this. If you have a support account open a ticket with them next time this happens so they can find the cause of this crashes as well.

Hope this helps,

Vlad

0 Likes
Dondon22 Respected Contributor.
Respected Contributor.

Re: OO 10.70 - Unable to recover smoothly on java.lang.OutOfMemoryError: Java heap space Error

The problem was, even the support engineers who assisted me on my trouble ticket did not know what to do... they asked me to truncate table OO_RUNNING_EXECUTION_PLANS but new problems came out after starting central (e.g. Flows did not change the status to Completed, always in Running status even though it was completed.... so I really do know where to find help and decided to post in this forum hoping it can shed some light...

In IT there is no Magic, just Logic ^_^
0 Likes
Micro Focus Expert
Micro Focus Expert

Re: OO 10.70 - Unable to recover smoothly on java.lang.OutOfMemoryError: Java heap space Error

Hi,

Judging by the description of things it is possible that some of the execution plans that were deleted also had flows in a running state. The running state reffers to the following statuses: RUNNING, PAUSED, PENDING_PAUSE and PENDING_CANCEL.

If this is indeed the case, then support is the way to go in solving this issue since it involves manually terminating and clearing all the inconsistent flow data from the database and workers., maybe further help is required on top of that. 

Regards,

Vlad

0 Likes
Dondon22 Respected Contributor.
Respected Contributor.

Re: OO 10.70 - Unable to recover smoothly on java.lang.OutOfMemoryError: Java heap space Error

If I were to cascade delete an execution plan, what tables to i need to check for data existence and state?

It will be a BIG HELP...

TIA 🙂

In IT there is no Magic, just Logic ^_^
0 Likes
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.