Error: Could Not Create The Java Virtual Machine [RESOLVED!]

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
TV-Tastic
Posts: 2
Joined: Sun Jun 01, 2014 9:48 am

Error: Could Not Create The Java Virtual Machine [RESOLVED!]

Post by TV-Tastic »

I had issues today with UMS (3.5.0) saying that the port was blocked and it referred me to the "General Configuration" tab to resolve the issue.

I couldn't figure that out so I decided to just check for an update (3.6.2), run it and hope that it would resolve the issue. It just made things worse,

Now, after doing two clean installs (as well as attempting to reinstall 3.5.0) I get this error message when I attempt to run UMS:

Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred: Program will exit

Image

No idea where to go with this and I can't even open the program in order to follow the procedures for requesting support.

Please help.
TV-Tastic
Posts: 2
Joined: Sun Jun 01, 2014 9:48 am

Re: Error: Could Not Create The Java Virtual Machine [RESOLV

Post by TV-Tastic »

Nevermind, problem resolved. Google is my friend.

Fix "could not create the java virtual machine" issue
warnerwanton
Posts: 1
Joined: Mon Jan 28, 2019 10:05 pm

Re: Error: Could Not Create The Java Virtual Machine [RESOLVED!]

Post by warnerwanton »

There is not enough virtual memory space requested by an application thus the application fails to start. This usually happens during the application startup phase. Applications reserve a large amount of virtual memory for the JVM heap space during the startup phase. Java on Windows uses an initial size of 16 Megabyte and a maximum of 64 Megabyte.

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
Post Reply