Ajarmar / universal-pokemon-randomizer-zx

Public repository of source code for the Universal Pokemon Randomizer ZX
GNU General Public License v3.0
593 stars 152 forks source link

I'm trying to randomize Pokemon Vandy DX [Help] #734

Open Shadoxas opened 6 months ago

Shadoxas commented 6 months ago

3DS Randomizer Ver. 4_6_0

Issue: When I try to save the ROM through LayeredFS it ends up saying Thread 5 Requested array size exceeds VN limit before that it was thread 5 heap size which I fixed that with mine being -Xmx30828M I dont't know what to do about the issue with array size.

Exception in thread "Thread-5" java.lang.OutOfMemoryError: Requested array size exceeds VM limit at java.util.Arrays.copyOf(Unknown Source) at java.util.Arrays.copyOf(Unknown Source) at java.util.Vector.grow(Unknown Source) at java.util.Vector.ensureCapacityHelper(Unknown Source) at java.util.Vector.addElement(Unknown Source) at java.util.Stack.push(Unknown Source) at com.dabomstew.pkrandom.romhandlers.AbstractRomHandler.copyUpEvolutionsHelper(AbstractRomHandler.java:6402) at com.dabomstew.pkrandom.romhandlers.AbstractRomHandler.copyUpEvolutionsHelper(AbstractRomHandler.java:6431) at com.dabomstew.pkrandom.romhandlers.AbstractRomHandler.randomizeAbilities(AbstractRomHandler.java:557) at com.dabomstew.pkrandom.Randomizer.randomize(Randomizer.java:206) at com.dabomstew.pkrandom.newgui.NewRandomizerGUI.lambda$performRandomization$111(NewRandomizerGUI.java:1023) at com.dabomstew.pkrandom.newgui.NewRandomizerGUI$$Lambda$154/11230470.run(Unknown Source) at java.lang.Thread.run(Unknown Source)