Skip to content

Fix decompile failures on large Unity games (Vacation Simulator, Into…#20

Merged
KaladinDMP merged 1 commit into
mainfrom
claude/elegant-dirac-Hpi8X
May 27, 2026
Merged

Fix decompile failures on large Unity games (Vacation Simulator, Into…#20
KaladinDMP merged 1 commit into
mainfrom
claude/elegant-dirac-Hpi8X

Conversation

@KaladinDMP

Copy link
Copy Markdown
Owner

… the Radius)

apktool was launched with no JVM heap flag, leaving it at the ~256MB default. Large Unity VR APKs with massive DEX files OOM the JVM during smali disassembly.

  • Add -Xmx2g to all apktool decompile/rebuild invocations
  • Add -Xmx1g to package-extraction and APK inspect spawns (resources only)
  • If the full decompile still fails, auto-retry with -s (skip smali); renameManifestPackage in apktool.yml handles the package rename during rebuild, so skipping smali does not affect the output APK

This should fix the issue raised by cosmos_hu on Reddit

… the Radius)

apktool was launched with no JVM heap flag, leaving it at the ~256MB default.
Large Unity VR APKs with massive DEX files OOM the JVM during smali disassembly.

- Add -Xmx2g to all apktool decompile/rebuild invocations
- Add -Xmx1g to package-extraction and APK inspect spawns (resources only)
- If the full decompile still fails, auto-retry with -s (skip smali);
  renameManifestPackage in apktool.yml handles the package rename during
  rebuild, so skipping smali does not affect the output APK

https://claude.ai/code/session_01WfJCXtJmUicSheJHkKWjMH
@KaladinDMP KaladinDMP merged commit 71f0cb9 into main May 27, 2026
1 check passed
@KaladinDMP KaladinDMP deleted the claude/elegant-dirac-Hpi8X branch May 27, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants