I suppose I should to increase a Java heap size for the application. Does Java heap size have a common settings for all Windows 10 applications? Or should I set it for the application I need. How? What if it's a Java application but it runs as an .exe file?
Windows – How to increase memory for a Java application in Windows 10
javavirtual-memorywindows
Best Answer
This really depends on each application, since you can run java from the standard JDK/JRE, or there are different tools which generate
.exe
.For the standard environment, something like:
For help about parameters:
See also https://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html
But for other packages (
.exe
), usually there is a configuration file, in which you can enter vendor specific parameter, or use the standard parameter-Xmx2048m
as is.