Hibernation can reduce memory consumption by hibernating c2s processes that have not been used for a while by the user (dormant connections).
In the upcoming commit, c2s processes inactive for 3 minutes will hibernate.
What will remain to be done is the ability to store and pass fsm option again when going out from hibernation.
Commited in SVN Changeset #934:
We will support process options in a later version.
Is there a reason to not do the same with the receiver processes?
There is no reason no. I think it could be done.
Patch to ejabberd_receiver.erl , hibernate the process if inactive for 15seg (or when paused by the shaper).