On Mon, Jun 13, 2011 at 11:01 AM, vmalykhin <[email protected]> wrote: > In our case the cause of bug is invocation of > > _byteChannel.close(); // java.nio.channels.ByteChannel > > In our app we use a library which uses java.nio.* package a lot > (channels, sockets, selectors etc). > We researched code of that library. Commenting the code line where > channel are closing resolved a problem. > But after that "fix" app are working well few hours and then crashing > with another error: out-of-memory-error or something similar, because > of a lot of not closed channels. > > It seems that bug is similar to > http://code.google.com/p/android/issues/detail?id=3531 > issue. > But how to fix that in our case exactly? >
Who knows? What library do you use? Commenting stuff out (especially Channel.close() ) is not the way to do it. Did you contact the someone who knows the library with your problem? What is your source code? Is this NDK? Daniel -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

