Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.OutOfMemoryError #3

Open
oxyroid opened this issue Dec 8, 2023 · 5 comments
Open

java.lang.OutOfMemoryError #3

oxyroid opened this issue Dec 8, 2023 · 5 comments

Comments

@oxyroid
Copy link

oxyroid commented Dec 8, 2023

When I click "Start", message dialog always "ID:0/008 Added!!Device Connected", but console shows:

Exception in thread "Thread-31" java.lang.OutOfMemoryError: Requested array size exceeds VM limit
	at CASUAL.communicationstools.heimdall.odin.OdinFile.extractOdinContents(OdinFile.java:145)
	at CASUAL.communicationstools.heimdall.odin.Odin.getHeimdallFileParametersFromOdinFile(Odin.java:50)
	at com.casual_dev.jodin.JOdinController.getHeimdallCommandFromOdinPackageList(JOdinController.java:621)
	at com.casual_dev.jodin.JOdinController.access$3300(JOdinController.java:54)
	at com.casual_dev.jodin.JOdinController$13.run(JOdinController.java:572)
	at java.base/java.lang.Thread.runWith(Thread.java:1636)
	at java.base/java.lang.Thread.run(Thread.java:1623)
[VERBOSE]Heimdall Device detected!
[VERBOSE]Heimdall Device detected!
[VERBOSE]Heimdall Device detected!
...
@oxyroid
Copy link
Author

oxyroid commented Dec 8, 2023

Always Running.

@rmortes
Copy link

rmortes commented Mar 19, 2024

Same, I'm unable to flash my phone. MacBook Air M2 14.4, openjdk version "20.0.2" 2023-07-18

@oxyroid
Copy link
Author

oxyroid commented Mar 20, 2024

Finally, I install windows virtual machine.

@ghost
Copy link

ghost commented Mar 21, 2024

Same, I'm unable to flash my phone. MacBook Air M2 14.4, openjdk version "20.0.2" 2023-07-18

Pro tip: Don't waste money on a CrapBook Air. Just get a normal laptop

@rmortes
Copy link

rmortes commented Mar 21, 2024

Same, I'm unable to flash my phone. MacBook Air M2 14.4, openjdk version "20.0.2" 2023-07-18

Pro tip: Don't waste money on a CrapBook Air. Just get a normal laptop

Thanks for the tip, but that was uncalled for. If I may give you a tip of my own, please don't assume things about people you don't know on the internet. My computed could've been a gift, I could need a mac based system to develop for iOS, I could have a disability and be used to the MacOS accessibility features, or I could simply like the hardware or software better than the alternatives. You don't know why I use a MacBook Air, and that comment was really out of place here.

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

No branches or pull requests

2 participants