Hi,
We have multiple use cases for *static* *void*cursorRowToContentValues(Cursor
cursor, ContentValues values) {
These contentValues are local variables with maximum function level scope.
However multiple calls to this method results in a memory leak. The
analysis of the HPROF file generated points to ContentValues being the
suspect, with no references incoming or outgoing. There is something within
the Android platform holding on to these values. We also observed that this
leak is more likely when the cursor.getColumn is stuffed in the values. If
some other string is stuffed the leak seems to reduce if not disappear. Is
there a known Android bug with respect to this API that might cause this
behavior?
Thanks
Gaurav
--
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