Maybe it's worth mentioning here that in the Emulator there's a limit of ~2000 global references which can exists simultaneously. If that limit is exceeded it will error out with "Excessive JNI global references".