You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "MÜLLER Christian (ICS460-BAI)" <Ch...@spar-ics.com.INVALID> on 2024/03/12 13:17:04 UTC
Error executing reactive work due to Java heap space. This exception is ignored.
Hello,
we are currently trying to understand the behaviour of camel if a thread “crashes” due to heap space.
We observe the following error message in our logs:
Error executing reactive work due to Java heap space. This exception is ignored.
Camel (camel-1) thread #11 - sql://select%20*%20from%20LVS_REP.EXC_XMLFROMCOS%20where%20STATUS='25'%20and%20EXC_MSGTYPE%20like%20'LOAD00%25'%20and%20EXC_XML100%20in%20('AT0100','AT0730')
After this error the route goes silent and no further “selects” are executed.
We understand that this is intentional in order to protect other routes…
but for us this behaviour is a serious problem as we are unable to alarm that there is an issue with the route.
Is there any way to force camel not to ignore this exception and “rethrow” it?
Thanks in Advance!
Regards Christian
[cid:imagece8280.PNG@2a8a8e83.45a30dd1]<https://www.spar-ics.com/>
DI Christian Müller
Software Engineer
Business Automation & Integration
<http://>
Mobile: +43 664 88748100
E-Mail: Christian.Mueller@spar-ics.com<ma...@spar-ics.com>
SPAR Business Services GmbH
Information & Communication Services
Europastrasse 3, 5015 Salzburg, Austria
<http://>
[cid:imagecaeb87.PNG@f725603e.4ca22921]
Sollten Sie diese E-Mail unbeabsichtigt bzw. irrtümlich erhalten haben, so weisen wir Sie darauf hin, dass gemäß § 161 Abs 4 TKG 2021 der Inhalt sowie die Tatsache des Empfangs dieser E-Mail weder aufgezeichnet noch verwertet oder Unbefugten mitgeteilt werden dürfen. Wir ersuchen Sie, die Nachricht von Ihrem System zu löschen und sich mit uns in Verbindung zu setzen.
Unter diesem Link finden Sie die Informationen über die Verarbeitung Ihrer personenbezogenen Daten sowie zu Ihren Rechten als betroffene Person:
https://www.spar.at/service/datenschutzhinweise
If you have received this email accidentally or in error, we point out that, in accordance with § 161 para. 4 TKG 2021 (Telecommunications Act), the contents of this email and the fact of its receipt must not be recorded, exploited or communicated to unauthorized persons. We ask you to delete the message from your system and to contact us.
Under this link you will find information about the processing of your personal data and about your rights as a data subject
https://www.spar.at/service/datenschutzhinweise
Re: Error executing reactive work due to Java heap space. This exception is ignored.
Posted by "MÜLLER Christian (ICS460-BAI)" <Ch...@spar-ics.com.INVALID>.
Yeah that makes sense. Just wanted to make sure.
So we will have to implement a health monitoring on route level!
Thanks for the clarification!
Regards Christian
Am 13.03.24, 12:50 schrieb "Claus Ibsen" <cl...@gmail.com>:
Hi
Okay as its a very serious error then its not caught by Camel.
From the javadoc you can read
An Error is a subclass of Throwable that indicates serious problems that a
reasonable application should not try to catch. Most such errors are
abnormal conditions. The ThreadDeath error, though a "normal" condition, is
also a subclass of Error because most applications should not try to catch
it.
On Wed, Mar 13, 2024 at 11:10 AM MÜLLER Christian (ICS460-BAI)
<Ch...@spar-ics.com.invalid> wrote:
> Hi,
>
> thanks for the repsonse!
>
> Camel 3.22.0
> the thrown exception class is:
> java.lang.OutOfMemoryError: Java heap space
>
> Regards Christian
>
> Am 13.03.24, 10:16 schrieb "Claus Ibsen" <cl...@gmail.com>:
>
> What Camel version, and can you tell the exact exception class that was
> throw
>
> On Tue, Mar 12, 2024 at 2:17 PM MÜLLER Christian (ICS460-BAI)
> <Ch...@spar-ics.com.invalid> wrote:
>
> Hello,
>
> we are currently trying to understand the behaviour of camel if a thread
> “crashes” due to heap space.
>
> We observe the following error message in our logs:
> Error executing reactive work due to Java heap space. This exception is
> ignored.
> Camel (camel-1) thread #11 -
> sql://select%20*%20from%20LVS_REP.EXC_XMLFROMCOS%20where%20STATUS='25'%20and%20EXC_MSGTYPE%20like%20'LOAD00%25'%20and%20EXC_XML100%20in%20('AT0100','AT0730')
> After this error the route goes silent and no further “selects” are
> executed.
> We understand that this is intentional in order to protect other routes…
> but for us this behaviour is a serious problem as we are unable to alarm
> that there is an issue with the route.
>
> Is there any way to force camel not to ignore this exception and “rethrow”
> it?
>
> Thanks in Advance!
> Regards Christian
>
>
> [cid:ii_18e3718573ea4b0cb8a1]<https://www.spar-ics.com/>
>
> DI Christian Müller
> Software Engineer
> Business Automation & Integration
>
> Mobile:
> +43 664 88748100
> E-Mail:
> Christian.Mueller@spar-ics.com<ma...@spar-ics.com>
>
> SPAR Business Services GmbH
> Information & Communication Services
> Europastrasse 3, 5015 Salzburg, Austria
>
> [cid:ii_18e3718573e81c1b3703]
>
> Sollten Sie diese E-Mail unbeabsichtigt bzw. irrtümlich erhalten haben, so
> weisen wir Sie darauf hin, dass gemäß § 161 Abs 4 TKG 2021 der Inhalt sowie
> die Tatsache des Empfangs dieser E-Mail weder aufgezeichnet noch verwertet
> oder Unbefugten mitgeteilt werden dürfen. Wir ersuchen Sie, die Nachricht
> von Ihrem System zu löschen und sich mit uns in Verbindung zu setzen.
> Unter diesem Link finden Sie die Informationen über die Verarbeitung Ihrer
> personenbezogenen Daten sowie zu Ihren Rechten als betroffene Person:
> https://www.spar.at/service/datenschutzhinweise
>
> If you have received this email accidentally or in error, we point out
> that, in accordance with § 161 para. 4 TKG 2021 (Telecommunications Act),
> the contents of this email and the fact of its receipt must not be
> recorded, exploited or communicated to unauthorized persons. We ask you to
> delete the message from your system and to contact us.
> Under this link you will find information about the processing of your
> personal data and about your rights as a data subject
> https://www.spar.at/service/datenschutzhinweise
>
>
>
>
> --
> Claus Ibsen
> -----------------
> @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>
--
Claus Ibsen
-----------------
@davsclaus
Camel in Action 2: https://www.manning.com/ibsen2
Re: Error executing reactive work due to Java heap space. This exception is ignored.
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
Okay as its a very serious error then its not caught by Camel.
From the javadoc you can read
An Error is a subclass of Throwable that indicates serious problems that a
reasonable application should not try to catch. Most such errors are
abnormal conditions. The ThreadDeath error, though a "normal" condition, is
also a subclass of Error because most applications should not try to catch
it.
On Wed, Mar 13, 2024 at 11:10 AM MÜLLER Christian (ICS460-BAI)
<Ch...@spar-ics.com.invalid> wrote:
> Hi,
>
> thanks for the repsonse!
>
> Camel 3.22.0
> the thrown exception class is:
> java.lang.OutOfMemoryError: Java heap space
>
> Regards Christian
>
> Am 13.03.24, 10:16 schrieb "Claus Ibsen" <cl...@gmail.com>:
>
> What Camel version, and can you tell the exact exception class that was
> throw
>
> On Tue, Mar 12, 2024 at 2:17 PM MÜLLER Christian (ICS460-BAI)
> <Ch...@spar-ics.com.invalid> wrote:
>
> Hello,
>
> we are currently trying to understand the behaviour of camel if a thread
> “crashes” due to heap space.
>
> We observe the following error message in our logs:
> Error executing reactive work due to Java heap space. This exception is
> ignored.
> Camel (camel-1) thread #11 -
> sql://select%20*%20from%20LVS_REP.EXC_XMLFROMCOS%20where%20STATUS='25'%20and%20EXC_MSGTYPE%20like%20'LOAD00%25'%20and%20EXC_XML100%20in%20('AT0100','AT0730')
> After this error the route goes silent and no further “selects” are
> executed.
> We understand that this is intentional in order to protect other routes…
> but for us this behaviour is a serious problem as we are unable to alarm
> that there is an issue with the route.
>
> Is there any way to force camel not to ignore this exception and “rethrow”
> it?
>
> Thanks in Advance!
> Regards Christian
>
>
> [cid:ii_18e3718573ea4b0cb8a1]<https://www.spar-ics.com/>
>
> DI Christian Müller
> Software Engineer
> Business Automation & Integration
>
> Mobile:
> +43 664 88748100
> E-Mail:
> Christian.Mueller@spar-ics.com<ma...@spar-ics.com>
>
> SPAR Business Services GmbH
> Information & Communication Services
> Europastrasse 3, 5015 Salzburg, Austria
>
> [cid:ii_18e3718573e81c1b3703]
>
> Sollten Sie diese E-Mail unbeabsichtigt bzw. irrtümlich erhalten haben, so
> weisen wir Sie darauf hin, dass gemäß § 161 Abs 4 TKG 2021 der Inhalt sowie
> die Tatsache des Empfangs dieser E-Mail weder aufgezeichnet noch verwertet
> oder Unbefugten mitgeteilt werden dürfen. Wir ersuchen Sie, die Nachricht
> von Ihrem System zu löschen und sich mit uns in Verbindung zu setzen.
> Unter diesem Link finden Sie die Informationen über die Verarbeitung Ihrer
> personenbezogenen Daten sowie zu Ihren Rechten als betroffene Person:
> https://www.spar.at/service/datenschutzhinweise
>
> If you have received this email accidentally or in error, we point out
> that, in accordance with § 161 para. 4 TKG 2021 (Telecommunications Act),
> the contents of this email and the fact of its receipt must not be
> recorded, exploited or communicated to unauthorized persons. We ask you to
> delete the message from your system and to contact us.
> Under this link you will find information about the processing of your
> personal data and about your rights as a data subject
> https://www.spar.at/service/datenschutzhinweise
>
>
>
>
> --
> Claus Ibsen
> -----------------
> @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>
--
Claus Ibsen
-----------------
@davsclaus
Camel in Action 2: https://www.manning.com/ibsen2
Re: Error executing reactive work due to Java heap space. This exception is ignored.
Posted by "MÜLLER Christian (ICS460-BAI)" <Ch...@spar-ics.com.INVALID>.
Hi,
thanks for the repsonse!
Camel 3.22.0
the thrown exception class is:
java.lang.OutOfMemoryError: Java heap space
Regards Christian
Am 13.03.24, 10:16 schrieb "Claus Ibsen" <cl...@gmail.com>:
What Camel version, and can you tell the exact exception class that was throw
On Tue, Mar 12, 2024 at 2:17 PM MÜLLER Christian (ICS460-BAI) <Ch...@spar-ics.com.invalid> wrote:
Hello,
we are currently trying to understand the behaviour of camel if a thread “crashes” due to heap space.
We observe the following error message in our logs:
Error executing reactive work due to Java heap space. This exception is ignored.
Camel (camel-1) thread #11 - sql://select%20*%20from%20LVS_REP.EXC_XMLFROMCOS%20where%20STATUS='25'%20and%20EXC_MSGTYPE%20like%20'LOAD00%25'%20and%20EXC_XML100%20in%20('AT0100','AT0730')
After this error the route goes silent and no further “selects” are executed.
We understand that this is intentional in order to protect other routes…
but for us this behaviour is a serious problem as we are unable to alarm that there is an issue with the route.
Is there any way to force camel not to ignore this exception and “rethrow” it?
Thanks in Advance!
Regards Christian
[cid:ii_18e3718573ea4b0cb8a1]<https://www.spar-ics.com/>
DI Christian Müller
Software Engineer
Business Automation & Integration
Mobile:
+43 664 88748100
E-Mail:
Christian.Mueller@spar-ics.com<ma...@spar-ics.com>
SPAR Business Services GmbH
Information & Communication Services
Europastrasse 3, 5015 Salzburg, Austria
[cid:ii_18e3718573e81c1b3703]
Sollten Sie diese E-Mail unbeabsichtigt bzw. irrtümlich erhalten haben, so weisen wir Sie darauf hin, dass gemäß § 161 Abs 4 TKG 2021 der Inhalt sowie die Tatsache des Empfangs dieser E-Mail weder aufgezeichnet noch verwertet oder Unbefugten mitgeteilt werden dürfen. Wir ersuchen Sie, die Nachricht von Ihrem System zu löschen und sich mit uns in Verbindung zu setzen.
Unter diesem Link finden Sie die Informationen über die Verarbeitung Ihrer personenbezogenen Daten sowie zu Ihren Rechten als betroffene Person:
https://www.spar.at/service/datenschutzhinweise
If you have received this email accidentally or in error, we point out that, in accordance with § 161 para. 4 TKG 2021 (Telecommunications Act), the contents of this email and the fact of its receipt must not be recorded, exploited or communicated to unauthorized persons. We ask you to delete the message from your system and to contact us.
Under this link you will find information about the processing of your personal data and about your rights as a data subject
https://www.spar.at/service/datenschutzhinweise
--
Claus Ibsen
-----------------
@davsclaus
Camel in Action 2: https://www.manning.com/ibsen2
Re: Error executing reactive work due to Java heap space. This exception is ignored.
Posted by Claus Ibsen <cl...@gmail.com>.
What Camel version, and can you tell the exact exception class that was
throw
On Tue, Mar 12, 2024 at 2:17 PM MÜLLER Christian (ICS460-BAI)
<Ch...@spar-ics.com.invalid> wrote:
> Hello,
>
> we are currently trying to understand the behaviour of camel if a thread
> “crashes” due to heap space.
>
> We observe the following error message in our logs:
>
> *Error executing reactive work due to Java heap space. This exception is
> ignored. Camel (camel-1) thread #11 -
> sql://select%20*%20from%20LVS_REP.EXC_XMLFROMCOS%20where%20STATUS='25'%20and%20EXC_MSGTYPE%20like%20'LOAD00%25'%20and%20EXC_XML100%20in%20('AT0100','AT0730')*
>
> After this error the route goes silent and no further “selects” are
> executed.
> We understand that this is intentional in order to protect other routes…
> but for us this behaviour is a serious problem as we are unable to alarm
> that there is an issue with the route.
>
> Is there any way to force camel not to ignore this exception and “rethrow”
> it?
>
> Thanks in Advance!
> Regards Christian
>
>
> <https://www.spar-ics.com/>
>
> DI Christian Müller
> Software Engineer
> Business Automation & Integration
> *Mobile:* +43 664 88748100
> *E-Mail:* Christian.Mueller@spar-ics.com
>
> *SPAR Business Services GmbH*Information & Communication Services
> Europastrasse 3, 5015 Salzburg, Austria
>
>
> Sollten Sie diese E-Mail unbeabsichtigt bzw. irrtümlich erhalten haben, so
> weisen wir Sie darauf hin, dass gemäß § 161 Abs 4 TKG 2021 der Inhalt sowie
> die Tatsache des Empfangs dieser E-Mail weder aufgezeichnet noch verwertet
> oder Unbefugten mitgeteilt werden dürfen. Wir ersuchen Sie, die Nachricht
> von Ihrem System zu löschen und sich mit uns in Verbindung zu setzen.
> Unter diesem Link finden Sie die Informationen über die Verarbeitung Ihrer
> personenbezogenen Daten sowie zu Ihren Rechten als betroffene Person:
> https://www.spar.at/service/datenschutzhinweise
>
> If you have received this email accidentally or in error, we point out
> that, in accordance with § 161 para. 4 TKG 2021 (Telecommunications Act),
> the contents of this email and the fact of its receipt must not be
> recorded, exploited or communicated to unauthorized persons. We ask you to
> delete the message from your system and to contact us.
> Under this link you will find information about the processing of your
> personal data and about your rights as a data subject
> https://www.spar.at/service/datenschutzhinweise
>
>
>
--
Claus Ibsen
-----------------
@davsclaus
Camel in Action 2: https://www.manning.com/ibsen2