Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO OFF
- :: When setting the memory below make sure to include the amount of ram letter. M = MB, G = GB. Don't use 1GB for example, it's 1G ::
- :: This is 64-bit memory ::
- set memsixtyfour=2G
- :: This is 32-bit memory - maximum 1.2G ish::
- set memthirtytwo=1G
- :: Don't edit past this point ::
- if $SYSTEM_os_arch==x86 (
- echo OS is 32
- set mem=%memthirtytwo%
- ) else (
- echo OS is 64
- set mem=%memsixtyfour%
- )
- java -Xmx%mem% -XX:MaxPermSize=256M -jar forge-1.6.4-9.11.1.965-universal.jar nogui
- PAUSE
Add Comment
Please, Sign In to add comment