REM Start DXF Viewer with more memory REM The meaning of the options is as follows: REM -mx1000m : maximum allowed memory (1000 MBytes = 1 GByte) REM -ms256m : initially allocated memory (256 MBytes) REM -XX:MaxTenuringThreshold=0 : special setting for the REM garbage collector which tells it that the viewer REM is using objects either shortly or for a quite long REM duration. As a result it does less internal copying REM which speeds up loading of larger files by 10-30% REM -jar : run the jar file which follows start javaw -XX:MaxTenuringThreshold=0 -ms256m -mx1000m -jar dxfviewer-swing.jar %1 %2 %3 %4 %5 %6 %7 %8 %9