JNI LOCAL REFERENCE TABLE OVERFLOW(512 Entries)

  • Replies:0
  • OpenNot stickiedUnanswered

Mar 19, 2013 2:19:07 PM

Hi

I have developed application using Android with Phonegap.When I am continously using application I am getting following error in my logcat and application is closed.
ERROR:
3-13 11:20:49.939: E/dalvikvm(2742): JNI ERROR (app bug): local reference table overflow (max=512)
03-13 11:20:49.939: W/dalvikvm(2742): JNI local reference table (0x18ba068) dump:
03-13 11:20:49.939: W/dalvikvm(2742): Last 10 entries (of 512):
03-13 11:20:49.949: W/dalvikvm(2742): 511: 0x2bb8ec40 android.content.res.AssetManager
03-13 11:20:49.949: W/dalvikvm(2742): 510: 0x2ccc3028 byte
03-13 11:20:49.949: W/dalvikvm(2742): 509: 0x2ccbb010 byte
03-13 11:20:49.949: W/dalvikvm(2742): 508: 0x2ccb2ff8 byte
03-13 11:20:49.949: W/dalvikvm(2742): 507: 0x2ccaafe0 byte
03-13 11:20:49.949: W/dalvikvm(2742): 506: 0x2cca2fc8 byte
03-13 11:20:49.949: W/dalvikvm(2742): 505: 0x2cc9afb0 byte
03-13 11:20:49.949: W/dalvikvm(2742): 504: 0x2cc92f98 byte
03-13 11:20:49.949: W/dalvikvm(2742): 503: 0x2cc8af80 byte
03-13 11:20:49.949: W/dalvikvm(2742): 502: 0x2cc82f68 byte
03-13 11:20:49.949: W/dalvikvm(2742): Summary:
03-13 11:20:49.949: W/dalvikvm(2742): 1 of java.lang.Class
03-13 11:20:49.949: W/dalvikvm(2742): 510 of byte (510 unique instances)
03-13 11:20:49.949: W/dalvikvm(2742): 1 of android.content.res.AssetManager
03-13 11:20:49.949: E/dalvikvm(2742): Failed adding to JNI local ref table (has 512 entries)
03-13 11:20:49.949: I/dalvikvm(2742): "Thread-318" prio=5 tid=15 RUNNABLE
03-13 11:20:49.949: I/dalvikvm(2742): | group="main" sCount=0 dsCount=0 obj=0x2bbf0de8 self=0x2467d0
03-13 11:20:49.949: I/dalvikvm(2742): | sysTid=2764 nice=0 sched=0/0 cgrp=[fopen-error:2] handle=2114696
03-13 11:20:49.949: I/dalvikvm(2742): | schedstat=( 0 0 0 ) utm=233 stm=107 core=0
03-13 11:20:49.949: I/dalvikvm(2742): at android.content.res.AssetManager.readAsset(Native Method)
03-13 11:20:49.949: I/dalvikvm(2742): at android.content.res.AssetManager.access$700(AssetManager.java:35)
03-13 11:20:49.949: I/dalvikvm(2742): at android.content.res.AssetManager$AssetInputStream.read(AssetManager.java:573)
03-13 11:20:49.949: I/dalvikvm(2742): at dalvik.system.NativeStart.run(Native Method)
03-13 11:20:49.959: E/dalvikvm(2742): VM aborting
03-13 11:20:49.959: A/libc(2742): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1)
This is very serious issue.Because this issue close my app,so i am not able to use my app
How to solve this bug?

any one help me for solving this bug? its very urgent requirememt for me.

Thanks

Nathiya