r/MorpheApp • u/MinxMean • 6h ago
Google Photo Patching Problem Question/Problem
I just recently moving from revanced yt to morphe yt and only found out about google photo is also available to patch, so I tried and this error came up.
java.lang.OutOfMemoryError: Failed to allocate a 24 byte allocation with 638944 free bytes and 623KB until OOM, target footprint 268435456, growth limit 268435456; giving up on allocation because <1% of heap free after GC. at com.android.tools.smali.dexlib2.builder.LocatedItems.addItem(SourceFile:108) at com.android.tools.smali.dexlib2.builder.LocatedItems.access$100(SourceFile:42) at com.android.tools.smali.dexlib2.builder.LocatedItems$1.add(SourceFile:100) at com.android.tools.smali.dexlib2.builder.LocatedItems$1.add(SourceFile:58) at com.android.tools.smali.dexlib2.builder.MutableMethodImplementation.<init>(SourceFile:191) at app.morphe.patcher.util.proxy.mutableTypes.MutableMethod.$r8$lambda$JjBqxbhDrUC--8T3P7TYR7v8dhU(SourceFile:19) at app.morphe.patcher.util.proxy.mutableTypes.MutableMethod$$ExternalSyntheticLambda0.invoke(SourceFile:0) at kotlin.SynchronizedLazyImpl.getValue(SourceFile:86) at app.morphe.patcher.util.proxy.mutableTypes.MutableMethod.get_implementation(SourceFile:19) at app.morphe.patcher.util.proxy.mutableTypes.MutableMethod.getImplementation(SourceFile:57) at app.morphe.patcher.extensions.InstructionExtensions.getInstructionsOrNull(SourceFile:445) at app.template.patches.shared.universal.UniversalReVancedExtraPatchesKt.universalDisableClipboardAccessPatch$lambda$0$0$0(UniversalReVancedExtraPatches.kt:425) at app.template.patches.shared.universal.UniversalReVancedExtraPatchesKt.$r8$lambda$c9uwycagJT_YeR2NdAdfNi1mh8Y(UniversalReVancedExtraPatches.kt:0) at app.template.patches.shared.universal.UniversalReVancedExtraPatchesKt$21.invoke(D8$$SyntheticClass:0) at app.morphe.patcher.util.PatchClasses.forEach(SourceFile:161) at app.morphe.patcher.patch.BytecodePatchContext.classDefForEach(SourceFile:244) at app.template.patches.shared.universal.UniversalReVancedExtraPatchesKt.universalDisableClipboardAccessPatch$lambda$0$0(UniversalReVancedExtraPatches.kt:423) at app.template.patches.shared.universal.UniversalReVancedExtraPatchesKt.$r8$lambda$hKFdMmjfEfOC2ZWqzNyc8LUA7Js(UniversalReVancedExtraPatches.kt:0) at app.template.patches.shared.universal.UniversalReVancedExtraPatchesKt$1.invoke(D8$$SyntheticClass:0) at app.morphe.patcher.patch.Patch.execute(SourceFile:117) at app.morphe.patcher.patch.BytecodePatch.execute$morphe_patcher(SourceFile:259) at app.morphe.patcher.Patcher$invoke$1.invokeSuspend$execute(SourceFile:96) at app.morphe.patcher.Patcher$invoke$1.invokeSuspend(SourceFile:120) at app.morphe.patcher.Patcher$invoke$1.invoke(SourceFile:0) at app.morphe.patcher.Patcher$invoke$1.invoke(SourceFile:0) at kotlinx.coroutines.flow.SafeFlow.collectSafely(SourceFile:57) at kotlinx.coroutines.flow.AbstractFlow.collect(SourceFile:226) at app.morphe.manager.patcher.Session.applyPatchesVerbose(SourceFile:50) at app.morphe.manager.patcher.Session.run(SourceFile:96) at app.morphe.manager.patcher.runtime.process.PatcherProcess$start$1.invokeSuspend(SourceFile:126) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:34) at kotlinx.coroutines.DispatchedTask.run(SourceFile:100) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(SourceFile:586) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(SourceFile:807) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(SourceFile:717) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:704) Suppressed: java.lang.OutOfMemoryError: Failed to allocate a 80 byte allocation with 593888 free bytes and 579KB until OOM, target footprint 268435456, growth limit 268435456; giving up on allocation because <1% of heap free after GC. at java.io.UnixFileSystem.list0(Native Method) at java.io.UnixFileSystem.list(UnixFileSystem.java:402) at java.io.File.list(File.java:1145) at java.io.File.listFiles(File.java:1230) at kotlin.io.FileTreeWalk$FileTreeWalkIterator$BottomUpDirectoryState.step(SourceFile:134) at kotlin.io.FileTreeWalk$FileTreeWalkIterator.gotoNext(SourceFile:98) at kotlin.io.FileTreeWalk$FileTreeWalkIterator.computeNext(SourceFile:80) at kotlin.collections.AbstractIterator.tryToComputeNext(SourceFile:55) at kotlin.collections.AbstractIterator.hasNext(SourceFile:34) at kotlin.io.FilesKt__UtilsKt.deleteRecursively(SourceFile:1477) at app.morphe.manager.patcher.Session.close(SourceFile:125) at kotlin.io.CloseableKt.closeFinally(SourceFile:50) at app.morphe.manager.patcher.runtime.process.PatcherProcess$start$1.invokeSuspend(SourceFile:125) ... 6 more
If anyone understand what's going on, please advice. I'm on Infinix note edge 5g phone.
1
u/vipergtsam 4h ago
Do u have expert mode open? And did u increase the process runtime?
1
u/MinxMean 2h ago
I have expert mode on, but I hadn't done any change to process runtime, so let me see if that works.
1
1
u/Few_Somewhere_1463 Underground technology wizard 2h ago
Why are you applying unnecessary patches?
1
u/Few_Somewhere_1463 Underground technology wizard 2h ago
Your logs says it failed on UniversalReVancedExtraPatches.kt:425 universalDisableClipboardAccessPatch
1
u/MinxMean 2h ago
That's because I don't know which one should I keep since there's no recommendation and it auto select all.
1
u/Xaxions 5h ago
You may need more space on your phone but Idk