File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ CONF_FLAGS=(
3737  -sMODULARIZE                             #  modularized to use as a library
3838  ${FFMPEG_MT: + -sINITIAL_MEMORY=1024MB}    #  ALLOW_MEMORY_GROWTH is not recommended when using threads, thus we use a large initial memory
3939  ${FFMPEG_MT: + -sPTHREAD_POOL_SIZE=32}     #  use 32 threads
40-   ${FFMPEG_ST: + -sINITIAL_MEMORY=32MB -sALLOW_MEMORY_GROWTH}  #  Use just enough memory as memory usage can grow
40+   ${FFMPEG_ST: + -sINITIAL_MEMORY=32MB -sALLOW_MEMORY_GROWTH -sMAXIMUM_MEMORY=4GB }  #  Use just enough memory as memory usage can grow
4141  -sEXPORT_NAME=" $EXPORT_NAME " #  required in browser env, so that user can access this module from window object
4242  -sEXPORTED_FUNCTIONS=$( node src/bind/ffmpeg/export.js) #  exported functions
4343  -sEXPORTED_RUNTIME_METHODS=$( node src/bind/ffmpeg/export-runtime.js) #  exported built-in functions
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments