Re: [akka-user] ActorSystem FatalError Handling

2017-11-02 Thread Konrad “ktoso” Malawski
When such errors are thrown all bets are off basically, in any app, not just akka. You can turn off the system automatically terminating — check reference.conf, though as I said — all bets are off then anyway because runtime is in potentially “bad state" -- Cheers, Konrad 'ktoso '

[akka-user] ActorSystem FatalError Handling

2017-11-02 Thread Mücahit Kantepe
If any Actor in ActorSystem throws a fatal error(StackOverFlowError, OutOfMemoryError etc.) akka.actor.ActorSystemImpl shutdowns JVM or shutdowns only ActorSystem. In configuration we can only change the shutdown JVM behavior but I want to do some custom things before shutting down the JVM, lik