O meu ta assim amigo , e meu pc tem 2 gb de ram
@echo off
color 3
title L2Guardian: Game Server Console
mode con: cols=140
:start
echo Starting L2Guardian Game Server.
echo Forum: http://www.l2jbrasil.com
echo ------------------------------
echo.
REM -------------------------------------
REM Default parameters for a basic server.
java -Dfile.encoding=UTF8 -Xms1024m -Xmx1024m -cp ./lib/*;./lib/uMad/*;l2jguardian-core.jar com.guardian.gameserver.GameServer
REM
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
REM -------------------------------------
if ERRORLEVEL 7 goto telldown
if ERRORLEVEL 6 goto tellrestart
if ERRORLEVEL 5 goto taskrestart
if ERRORLEVEL 4 goto taskdown
REM 3 - abort
if ERRORLEVEL 2 goto restart
if ERRORLEVEL 1 goto error
goto end
:tellrestart
echo.
echo Telnet server Restart ...
echo Send you bug to : http://www.l2jbrasil.com
echo.