-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
876ef22
commit f468c60
Showing
4 changed files
with
28 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
@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 Set following to higher value when you encounter StackOverFlowErrors | ||
set STACK_SIZE=32m | ||
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 | ||
|
||
java -Xmx%MEMORY% -Xss%STACK_SIZE% -Djna.nosys=true -jar "%~dp0\ffdec.jar" %* | ||
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" %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters