Since you're not writing native code there may not be anything you can do about it.
As noted in the comment, the warning exists to help developers find cases where they are pinning memory (through e.g. GetCharArrayElements
) and never releasing it. Since the pin count in the logs you included peaks at 16 and doesn't go higher, it's likely that "release" is being called, and the memory remains pinned because the code that pins it hasn't finished accessing the array (i.e. there are 15 "live" objects that have it pinned).
The pin table has a maximum total size of 1024. If that gets exceeded, the VM will report the problem vigorously (it will write a specific log message and then abort). If you're not seeing that, then these messages have nothing to do with your crash, and you can ignore them.