changes of heapSize in manifest.xml, new flags in Android.mk and Application.mk specially for debug mode, resolving the JNI error in JNI_source.cpp while training and prediction with slightly higher dataset