Grzegorz B. Prokopski <[EMAIL PROTECTED]> writes: > [jni: fatal error (Local reference capacity exceeded)] > > Java specification allows programs to assume that maximum 16 local > references are available
This comes from the JNI (Java Native Interface) spec. VMs have to ensure that at least 16 local references can be created upon entering a native method. If a native method needs more local references it must call EnsureLocalCapicity() or use PushLocalFrame()/PopLocalFrame() or delete no longer needed local references with DeleteLocalRef(). See http://java.sun.com/j2se/1.4.2/docs/guide/jni/jni-12.html#localrefs If you're using a Blackdown or Sun JVM you can you use -verbose:jni or -Xcheck:jni to catch such problems. Juergen -- Juergen Kreileder, Blackdown Java-Linux Team http://www.blackdown.org/java-linux/java2-status/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]