[mono-android] GC.Collect() hangs on LG GT540
Jonathan Pryor
jonp at xamarin.com
Wed Feb 29 20:59:38 UTC 2012
On Feb 29, 2012, at 2:25 AM, PVoLan wrote:
> Calling GC.Collect hangs on LG GT-540 with Android 2.1. Works properly on other devices I have.
Are you running Mono for Android 4.0.4?
Could you provide the `adb logcat` output?
You might also try rebooting the device. I've encountered a few scenarios in which GC.Collect() would hang, but rebooting the device would allow things to work.
Finally, you might try the adb command:
adb shell setprop debug.mono.env MONO_GC_DEBUG=5
then restart your app and provide the `adb logcat` output when it hangs. The above adb command will increase GC logging, which might provide us with more of a clue.
Thanks,
- Jon
More information about the Monodroid
mailing list