List of issues
: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means waiting times in the issue tracker are very long and mostly depend on community. Sorry for the inconvenience.
#288 Memory (RAM) leak (by javaw.exe) after .fla exporting
Labels: FLA exportPerformance
> What steps will reproduce the problem? Export to a .fla a big .swf file (I've send one some time ago called ttp.swf so it can be useful for testing) > What is the expected output? What do you see instead? While exporting to .fla it (javaw.exe process) takes most of free RAM and when it finished I didn't get back to the first amount of RAM. So until I close the FFDec I have almost no free RAM at all. > What version of the product are you using? On what operating system? 1.7.0 (I think with previous was the same) > Please provide any additional information below. Attach the file you have problem with if neccessary. If you do not want to publish files YOU CAN CHANGE VISIBILITY TO PRIVATE Win7x64, 4Gb RAM.
Please try the latest version, FLA export should use less memory. It is not always possible to free all unused memory, because it is managed by java runtime, but FFDec tries to free everything. Now it needs less than 2GB memory with your file. Is this enough for you?
Thanks, now is much better.
Ok, you can also try to configure the -XX:MaxHeapFreeRatio parameter in ffdec.bat, because java not always releases the memory. The default value is 70 for this setting, so if the exporting needs 3GB memory and after export FFDec is using 900MB, then it is possible that no memory will be released with the default setting (but it depends on the Java runtime, not on FFDec). I tried to release all temporary objects which was created during fla export, so I close this issue now. Please create new issue if you find any problem or have any suggestion.