Hi Dima, as far as I can see the implementation is quite wasteful in creating these ConsistentActorRef wrappers (100K for every message send in your case). 2.3.12 should be much smarter in this regard …
Regards, Roland On Mon, Aug 10, 2015 at 12:44 PM, gutzeit <[email protected]> wrote: > Hey, > > I am using akka 2.1.4 (yeah, old, tell me about it) and lately been > experimenting with ConsistentHashing routers. > > I have two routers defined like that with, > > */blahRouter {* > > * router = consistent-hashing* > > * nr-of-instances = 100000* > > * virtual-nodes-factor = 10* > > * }* > > * /blah1Router {* > > * router = consistent-hashing* > > * nr-of-instances = 100000* > > * virtual-nodes-factor = 10* > > * }* > > > After running for a while, I do jmap to see the living objects, and to my > surprise i see the following: > > instances size > 10: *31600064* 1011202048 akka.routing.ConsistentActorRef > > > The question is, how come there are so many those internal classes > retained for at most of 200K actors ? > > Am I missing anything ? > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Akka Team Typesafe - Reactive apps on the JVM Blog: letitcrash.com Twitter: @akkateam -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
