outOfMemoryError

Norman Maurer norman at apache.org
Wed Jan 5 06:51:01 EST 2011


To be honest,

using a endless loop with nio will not work at all because the data
will get buffered until it could e written and so you will see an OOM
soon.

Bye,
Norman

2011/1/5 isagol <isagol1604 at gmail.com>:
>
> Thanks for your reply.
> But still dont work
> when i use channel.iswritbale() i dont get outoutmemery error but it stoped
> to work again.
> this is not first time to send data continuesly, i made some projects and
> send data copntinunesly and they worked but now, it doesnt. i am confused.
> and i dont know well Netty. i think you are right its about channel internal
> buffer but i dont know how i can handle it...
> --
> View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/outOfMemoryError-tp5891305p5891674.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> 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