Tue, 04/30/2024 - 06:01
After a JAVA update, I lost VSTAR.
Error: Could not create the JAVA Virtual Machine.
Does anyone remember what needs to be tweaked in JAVA to make VSTAR work? Something about max size somewhere in JAVA's set up file :
_JAVA_OPTIONS with -Xmx1024M
Can't remember where to find this thing.
Ray
Can you say what operating system you're using?
If Windows, the solution to your problem is probably here (it includes a section "Troubleshooting memory problems"):
https://github.com/AAVSO/VStar/wiki/Installation-Recipes#how-to-install-vstar-under-windows
David
Hi Brian
Using Windoze 11.
I had the same problem with Windoze 10 but managed to figure how to increase the maxsize at that time.
This time, on Win 11, rundll32.exe sysdm.cpl,EditEnvironmentVariables and deleting the _JAVA_OPTIONS variable line entirely fixed the problem. (after a reboot)
Can I now assume that JAVA apps can use all the memory they want to use? Is that a problem?
Editing the VSTAR ini (VSTAR Launcher Configuration) file a couple different ways and saving and rebooting was no fix.
Ray