I need to give my java application more heap, so I am using a .bat file with the command
This works fine. The thing I don't like is that it opens a command window, which stays open until the java application is closed.Code:start "" java -Xms100m -Xmx300m -jar "D:\my_app.jar"
Is there any way to start the java application and close the command window right away? Or is there any other possibility to achieve the increase of the heap size? A .bat file is also not so nice because it will work only on a windows machine...