java.lang.OutOfMemoryError: Failed to allocate a 3398834 byte allocation with 1290704 free bytes and 1260KB until OOM at java.lang.StringFactory.newStringFromBytes(StringFactory.java:185) at java.lang.StringFactory.newStringFromBytes(StringFactory.java:63) at android.util.Base64.encodeToString(Base64.java:456) at com.entitcs.office_attendance.background_works.g.b(SourceFile) at com.entitcs.office_attendance.background_works.g.e(SourceFile) at com.entitcs.office_attendance.background_works.g.p(SourceFile) at com.entitcs.office_attendance.background_works.g.j(SourceFile) at com.entitcs.office_attendance.background_works.g.(SourceFile) at com.entitcs.office_attendance.background_works.NetworkStateChecker.onReceive(SourceFile) at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:1122) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6123) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)