Java program with 16GB virtual memory and growing: is it a problem?
问题 On Mac OSX 5.8 I have a Java program that runs at 100% CPU for a very long time -- several days or more (it's a model checker analyzing a concurrent program, so that's more or less expected). However, its virtual memory size, as shown in OSX's Activity Monitor, becomes enormous after a day or so: right now it's 16GB and growing. Physical memory usage is roughly stable at 1.1GB or so. I would like to know: is the 16GB (and growing) a sign of problems that could be slowing my program? I start