HashedWheelTimer should be shared?

Marc-André Laverdière marcandre.laverdiere at gmail.com
Thu Jul 1 00:57:26 EDT 2010


I'm sharing my timer, and that's the recommended practice...

Marc-André LAVERDIÈRE
"Perseverance must finish its work so that you may be mature and
complete, not lacking anything." -James 1:4
mlaverd.theunixplace.com/blog

 /"\
 \ /    ASCII Ribbon Campaign
  X      against HTML e-mail
 / \



2010/7/1 Chew Kok Hoor <kokhoor at gmail.com>:
> Hi all,
>     Should a HashedWheelTimer be a shared instance for all Handlers, or for
> selected Handlers with the same timeout, or used individually for each
> Handler?
>     I received an OutOfMemoryException when my application fails saying that
> HashedWheelTimer is a shared resource...
> Regards,
>     Kok Hoor
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>



More information about the netty-users mailing list