Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Could not create Java virtual machine
#3
Solved: 11 Years, 3 Months, 4 Weeks ago
(03-22-2011, 01:16 AM)xman Wrote: There is a document from HP about how to fix your issue:
http://support.openview.hp.com/selfsolve...t/KM543247

Most of the time you can fix this problem by uninstalling the Java runtime and then reinstalling it all over again.

You can also try increasing the amount of system memory allocated to the Java virtual machine by setting an environment variable.

Open the Control Panel
Go to System
Go to Advanced Systems Properties
Then Environment Variables
In System Variables, click Add
New Variable Name: _JAVA_OPTIONS
New Variable Value: -Xmx512M
Click OK


That's it, your Java program should now be able to execute properly.
For those interested, Java -Xmx/s is the configuration parameter that control the amount of memory Java uses.

Xmx sets the maximum heap memory size
Xms sets the minimum heap memory size :
Reply


Messages In This Thread
RE: Could not create Java virtual machine - by walshmagger - 10-26-2017, 11:41 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  virtual objects do not work kawagnes 0 1,100 08-28-2020, 12:02 PM
Last Post: kawagnes
  machine lock unlock uft_usr 0 1,751 06-21-2016, 09:52 PM
Last Post: uft_usr
  cannot create java virtual machine on QTP 12.02 version richa5685 0 1,965 02-23-2016, 11:18 AM
Last Post: richa5685
  Need to identify whether excel is installed in QTP machine kalyaniR 2 2,561 10-25-2013, 12:45 PM
Last Post: kalyaniR
  Installing QTP -Freeware on Multiple Machine sangi 1 2,800 06-11-2013, 06:13 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 2 Guest(s)