Home » Questions » Computers [ Ask a new question ]

Any way to limit the amount of memory a program leaks?

Any way to limit the amount of memory a program leaks?

I'm running Netbeans on Windows Vista and I have to restart the computer every 6 hours because while Netbeans is running I seem to be constantly leaking memory. This doesn't happen while I'm running any other program.

Asked by: Guest | Views: 66
Total answers/comments: 1
Guest [Entry]

"Netbeans is a Java application, you can limit how much the JRE uses in Control Panel -> Java.

Under the Java tab, enter -XmxNM as your runtime settings for your current JRE, where N is the amount of memory in MB you want available to the JVM.

example:"