Ahem Now I’ve done pretty much networking, and keeping servers running java code for months without a crash. That was done with the basic I/O, and the custom NIO implementations in Mina, and later JBoss’ Netty. Haven’t experienced leaks of any sort related to the use of these packages. Of course you could’ve made a mistake yourself.
Also, the point that the Moderator made in that thread is really good. You don’t see errors in the data-transmission at all (unless you’re using UDP, and not handling things accordingly). I’ve also made dumps of several gigabytes because I wanted some media, and databases that i only could access through HTTP, and I’ve never ever experienced faults in the transmission.
I would be happy to run your code a couple of hours if it’s just a light daemon to test, if needed.
Cheers.
EDIT:
I haven’t used the NIO in java that’s provided a lot (a couple of weeks work tops), but I really don’t think you’d find these massive bugs in it. If unsure, just use Netty. It’s easier to use, and should provide better performance than Mina (I’ve seen some benchmarks of the same servers, with the different libraries, and the difference was slight, but big enough to notice if you’re handling 2k connected users).