Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
PrestonQM

Help with simple batch file for allocating ram

Recommended Posts

Posted · Original PosterOP

I am in need of help to allocate ram to a Java program. I currently have; 

start (file path)
java -Xmx4096m -jar program.jar 

I don't know if I need to specify the file path of java or not, I know the start line works perfectly fine.

I honestly have no idea what I am doing with batch files, I have never dealt with batch files and this is confusing me a lot as nothing I seem to do will work. Sorry if I sound completely illiterate, that is because I am when dealing with batch files. Thank you for the help if you can!

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×