java.lang.OutOfMemoryError: Failed to allocate a 952824 byte allocation with 148936 free bytes and 145KB until OOM at java.lang.StringFactory.newStringFromChars(StringFactory.java:218) at java.lang.StringFactory.newStringFromBytes(StringFactory.java:203) at java.lang.StringFactory.newStringFromBytes(StringFactory.java:63) at android.util.Base64.encodeToString(Base64.java:456) at com.entitcs.office_attendance.background_works.c.b(SourceFile) at com.entitcs.office_attendance.background_works.c.e(SourceFile) at com.entitcs.office_attendance.background_works.c.p(SourceFile) at com.entitcs.office_attendance.background_works.c$a.f1(SourceFile) at com.entitcs.office_attendance.background_works.c$a.onPostExecute(SourceFile) at android.os.AsyncTask.finish(AsyncTask.java:660) at android.os.AsyncTask.-wrap1(AsyncTask.java) at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:677) at android.os.Handler.dispatchMessage(Handler.java:110) at android.os.Looper.loop(Looper.java:203) at android.app.ActivityThread.main(ActivityThread.java:6269) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)