If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : We have got a new blog where we post some interesting SWF internals info.

#1779 java.lang.OutOfMemoryError: Java heap space
Author:
ComediNyan

Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: Large SWF
State: new 

> What steps will reproduce the problem?
trying to open sufficiently big flash file (650megs in my case), like with lots of images
inside.
> What is the expected output? What do you see instead?
Expected opening the file, got this instead:
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at com.jpexs.helpers.CancellableWorker.get(CancellableWorker.java:126)
at com.jpexs.decompiler.flash.gui.Main.parseSWF(Main.java:987)
at
com.jpexs.decompiler.flash.gui.Main$OpenFileWorker.doInBackground(Main.java:1203)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.io.ByteArrayOutputStream.grow(Unknown Source)
at java.io.ByteArrayOutputStream.ensureCapacity(Unknown Source)
at java.io.ByteArrayOutputStream.write(Unknown Source)
at com.jpexs.helpers.Helper.copyStream(Helper.java:792)
at com.jpexs.decompiler.flash.SWF.decompress(SWF.java:1604)
at com.jpexs.decompiler.flash.SWF.<init>(SWF.java:1264)
at com.jpexs.decompiler.flash.gui.Main$6.open(Main.java:845)
at com.jpexs.decompiler.flash.gui.Main$6.doInBackground(Main.java:978)
at com.jpexs.decompiler.flash.gui.Main$6.doInBackground(Main.java:832)
at com.jpexs.helpers.CancellableWorker$1.call(CancellableWorker.java:61)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.jpexs.helpers.CancellableWorker.run(CancellableWorker.java:78)
... 3 more
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
tried both 15.0.0 and 11.3.0 - doesn't change anything
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
The file is too big to attach. download link: https://mega.nz/file/OoZGXboS#9JdRY6N9zVXD0XD_RMKElGpZyRHISoa_uDfHsjMjln0
I have the same problem with this swf :
https://gitlab.com/eternaltwin/eternal-twin/-/raw/master/pioupiouz/swf/play.swf
```
java -jar 'fdec.jar' -export script dec play.swf
```
It ends with a OutOfMemory error.
I tried to give 12 go RAM to the JVM. It took much more time, but it also exit with an
OutOfMemory.