Sign-in / Sign-up
Your question

How to add the -Xmx256m to the java virtual Machine startup command

Tags:
  • Configuration
  • Virtual Machine
  • Java
  • Command Prompt
  • Windows XP
Last response: in Windows XP
January 8, 2010 5:54:32 AM

How to add the -Xmx256m to the java virtual Machine startup command

Hi, I'm Kio.. I have a program that plays games on the pc and it works but it doesn't go as fast as it should and it tells me why..
(0 [GUI] WARN memory- Cannot allocate FastMemory: add the option '-Xmx256m'to the Java Virtual Machine startup command to improve Performance)
Think that you can tell me how to do as it says so that it can run as it should..

Thanks in Advanced
Kio :) 

More about : add xmx256m java virtual machine startup command

January 9, 2010 12:39:21 PM

what program is telling you to do this
m
0
l
August 20, 2013 8:55:27 AM

A bit late but this will be useful to other users I guess. You can add this command to your windows parameters so that all programs using Java will benefit from it.
Look at this tutorial for that:
Fix "could not create the java virtual machine" issue
If Java causes some trouble, you may get the error message "Could not create the Java Virtual Machine." This tutorial will help you solve the issue. When that happens, the easiest solution that has been tested on Windows XP, Windows 7 and... See full content
m
0
l