I am using 512 mb ram. I know we can increase the jvm heap memory by passing two arguments..
What is the maximum value that I can give for -Xmx
argument for 512 mb ram to work system smoothly.
I am using 512 mb ram. I know we can increase the jvm heap memory by passing two arguments..
What is the maximum value that I can give for -Xmx
argument for 512 mb ram to work system smoothly.
That depends on what else you're running. If you run out of available RAM, the operating system will swap to disk. If you overcommit your RAM a little bit, the stuff that gets swapped to disk probably is the unused stuff and it doesn't hurt too much.
If you overcommit your RAM too much, the system will churn on the hard drive and everything slows down unbearably. There is no way for someone on the internet to guess at what this precise point may be on your computer, so you'll just have to try various values of the -Xmx
argument to find out where the breaking point is.