Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Memory leakage in android app

Memory leakage in android app

Put problems with the Android NDK in this forum.

Memory leakage in android app

Postby Chyra » Thu Aug 23, 2012 2:58 pm

I'm working on an android app and I have problem with memory leakage.
I have found the problem but my c++ knowledge is very limited so I do not know how to solve the problem.
I have a c++ jni and I don't know how to clean up after my self. Do I need to delete the references to both visible_texture and jarray? I have googled alot and tried a few different ways without any luck, but I think that
ReleaseBooleanArrayElements might do the job?
Thanks in advance!

Code: Select all
JNIEXPORT void JNICALL //int chAnimation added, will choose animation
Java_com_qualcomm_QCARSamples_ImageTargets_ImageTargetsRenderer_renderFrame(JNIEnv *env, jobject, jbooleanArray jarray)
{
    jboolean isCopy1;
    jboolean* visible_texture = env -> GetBooleanArrayElements(jarray, isCopy1);
Chyra
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Aug 23, 2012 2:53 pm

Top

Return to NDK Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests