Artem1212121

Untitled

Oct 29th, 2021
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1.  
  2. while true
  3. do
  4. corename="core"
  5. #Мин. ОЗУ в МБ
  6. min="14G" #Озу в M/G
  7. #Макс. ОЗУ в МБ
  8. max="16G" #Озу в M/G
  9. #Стандартная кодировка текста: UTF-8
  10. fixer="UTF-8"
  11. #Зона
  12. UTC="Europe/Moscow"
  13. echo "FanLite . . ."
  14. echo "Выделено" ${min} "из" ${max} "ОЗУ"
  15.  
  16. java -Xms${min} -Xmx${max} -XX:+UseShenandoahGC -XX:+ParallelRefProcEnabled -XX:+HeapDumpOnOutOfMemoryError -showversion -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -Duser.timezone${UTC} -Dfile.encoding=${fixer} -jar ${corename}.jar nogui
  17.  
  18. echo "УБИТЬ ПРОЦЕСС - Ctrl + C!"
  19. echo "Включение через: "
  20. for i in 9 8 7 6 5 4 3 2 1
  21. do
  22. echo "$i..."
  23. sleep 1
  24. done
  25. echo "FanLite . . ."
  26. done
  27.  
Advertisement
Add Comment
Please, Sign In to add comment