I'm using in my application an external jar-library, which is working with bitmaps. This causes an out of memory exception in my application. This kind of problem is described in following issue: http://code.google.com/p/android/issues/detail?id=8488
Once OOME occurs, an activity crashes, application is still going runing, memory will be free, but the wifi-connection will be lost.
Is there the way to get memory free before activity crashes? Probably, I should say, I have no access to bitmaps, which are using by the library. I also tried to call System.gc() in onPause and onDestroy, but that doesn't help.
Why would be memory free when activity crashes?
What did happen with wi-fi-connection?
Thank you
upd
this library is osmdroid