Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
Does anyone have facing problem when running NSM UI 2008.1r1 on win XP ?
I face this error a couple month ago. At my laptop now installed NSM 2007.3r2 dan NSM 2008.1r1.
First time i install NSM 2008, i can use it well. But now if i want to running it, appear Java Virtual Machine error. (see attachment)
I have reinstall with newest jre and reinstall NSM 2008, but still not work. Event reinstalling windows.
Any idea guys?
actually the NSM client uses its own JRE package and not the system one, so this problem is not related with the Java installed on your PC.
I never saw this error before, maybe memory/resource issue?
Can you try deleting hte .nsm directory from C:\Documents and Settings\<Your Home Directory\ and they try to login.
I have deleted the .nsm folder, but still cannot solve. Any advice?
I will try to install nsm UI 2008.2r2 and will let you know if i face the problem again.
I still got the error when used NSM2008.2r2 and NSM2009
any adviced ?
hmm .. Windows won't have much to do with this Java error. I will suggest you to uninstall NSM and JRE and then go to "C:\Program Files\" and delete
1) "NetScreen-Security Manager" folder.
2) "Java" folder
Then go to "C:\Program Files\Common Files\" and delete"Java" folder if present.
After this, reboot the machine and install NSM and try.
Can you please goto your machines "Control Panel" and open "Java". At the bottom portion of the "Java Contol Panel" click on the "Settings" and see the space alocated. See the attached screenshot.
Try "Delete Files..." button in the main menu also.
Still won't work...
I found temp file when i start NSM2008. That file will generate randomly.
But when i run NSM2007, its will create tmp file also but gone immediately and the file cannot be copied.
Finally i found the error came from. On NSM2008 installed directory have NSM.lax file.
There has a line lax.nl.java.option.java.heap.size.max=768m (default). Then i change the value into 512m, binggo...its works.
Dont know this value related with installed RAM on our machine or not. My current installed RAM is 2.5Gb
but at my nsm.lax file i can set value upto 704m. Next i will test on NSM2009.
ND thank you so much for posting this!! NSM suddenly stopped working on my XP machine after some Windows updates, and I was going crazy trying to figure out why (uninstalling the updates didn't resolve the issue). But setting the lax.nl.java.option.java.heap.size.max=768m fixed mine (it was set to 1280m).
Thank you!!!!! 🙂
In a nutshell, the instructions show you how to make a System Variable for Java called _JAVA_OPTIONS with the value Xmx512M. This sets a global maximum heap memory size for Java. You can solve this by:
Open the Control PanelGo to SystemGo to Advanced Systems PropertiesThen Environment VariablesIn System Variables, click AddNew Variable Name: _JAVA_OPTIONSNew Variable Value: -Xmx512MClick 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 sizeXms sets the minimum heap memory size