Hi,

In my app I'm getting a crash with the promising message: "Excessive JNI global 
references".
The runtime is right, I have too many of them and I do want to fix the issue, 
however there's one little hiccup.

I have a custom list adapter that connects data I receive from a webservice to 
list.
In the GetItem method of the BaseAdapter implementation I'm creating a new 
JavaObjectWrapper<T> instance that is a wrapper around the webservice data, 
because it  isn't based on Java.Lang.Object.

The bad news is, that this creates 852 new instances of JavaObjectWrapper 
without cleaning them up again.

Is there any way I can fix this problem? For example, can I use another 
technique to implement the GetItem method of the BaseAdapter class?

Kind regards,

Willem Meints
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to