Files
jpexs-decompiler/resources/ffdec.bat
Jindra Petřík f468c60bf7 Fixed #1968, #1971, #1957 Cannot start FFDec due to large stack size on some configurations
Changed #1957 Larger stack size (when needed) must be configured manually in ffdec.bat or ffdec.sh
2023-02-12 11:43:05 +01:00

18 lines
618 B
Batchfile

@echo off
rem This is a comment, it starts with "rem".
rem Set following to higher value if you want more memory:
rem You need 64 bit OS and 64 bit java to set it to higher values
set MEMORY=1024m
rem Uncomment following when you encounter StackOverFlowErrors.
rem If the app then terminates with OutOfMemory you can experiment with lower value.
rem set STACK_SIZE=32m
rem Hide VLC error output
set VLC_VERBOSE=-1
if not "%STACK_SiZE%"=="" set STACK_SIZE_PARAM= -Xss%STACK_SiZE%
if not "%MEMORY%"=="" set MEMORY_PARAM=-Xmx%MEMORY%
java %MEMORY_PARAM%%STACK_SIZE_PARAM%-Djna.nosys=true -jar "%~dp0\ffdec.jar" %*