Is there documentation of the lifecycle of a ReceivePersistentActor? I'm interested in the circumstances a persistent actor is killed/stopped/dehydrated to allocate resources for other actors. Our application creates a lot of persistent actors and I'm seeing that some are Terminated. Is there a timeframe that a persistent actor has to be "inactive" before it is terminated? What other conditions are considered?
Actors are only terminated automatically when:
Normal persistent actors don't shut down on their own - they'll hang around so long as the ActorSystem
and their parent actor are live.