e******2 发帖数: 2 | 1 原贴太长,总结一下。
同样的程序,在三个机器上跑,用一样的JVM,有
一个机器老是内存溢出。出问题的机器操作系统是
redhat enterprise。我猜是JVM设置的问题。可是
不知如何下手。希望能有高人相助,感激不尽。
I have been running one java application on different platforms. The systems
are:
A. Dell Inspiron 600M, MS XP Service Pack 2, jre1.5.0_09, 1GB RAM
B. Dell Dimension 9100, Fedora Core 4, Linux version 2.6.17-1.2142_FC4smp (
b*******[email protected]) (gcc version 4.0.2 20051125 (Red Hat
4.0.2-8)), jdk1.5.0_06, 2GBRAM,
C. Dell PowerEdge, Linux version 2.6.9-42.0.3.ELsmp (b | g*****g 发帖数: 34805 | 2 Run profiler on System C and see what's keeping increasing.
systems
Hat
【在 e******2 的大作中提到】 : 原贴太长,总结一下。 : 同样的程序,在三个机器上跑,用一样的JVM,有 : 一个机器老是内存溢出。出问题的机器操作系统是 : redhat enterprise。我猜是JVM设置的问题。可是 : 不知如何下手。希望能有高人相助,感激不尽。 : I have been running one java application on different platforms. The systems : are: : A. Dell Inspiron 600M, MS XP Service Pack 2, jre1.5.0_09, 1GB RAM : B. Dell Dimension 9100, Fedora Core 4, Linux version 2.6.17-1.2142_FC4smp ( : b*******[email protected]) (gcc version 4.0.2 20051125 (Red Hat
| B*********h 发帖数: 800 | 3 do as goodbug said... there is a very simple profiler included in the JDK, t
he jconsole. check out your JDK bin directory.
【在 g*****g 的大作中提到】 : Run profiler on System C and see what's keeping increasing. : : systems : Hat
| g*****g 发帖数: 34805 | 4 I am not very good at Linux. But swap partition is usually setup
twice the size of the physical memory, check that too.
systems
Hat
【在 e******2 的大作中提到】 : 原贴太长,总结一下。 : 同样的程序,在三个机器上跑,用一样的JVM,有 : 一个机器老是内存溢出。出问题的机器操作系统是 : redhat enterprise。我猜是JVM设置的问题。可是 : 不知如何下手。希望能有高人相助,感激不尽。 : I have been running one java application on different platforms. The systems : are: : A. Dell Inspiron 600M, MS XP Service Pack 2, jre1.5.0_09, 1GB RAM : B. Dell Dimension 9100, Fedora Core 4, Linux version 2.6.17-1.2142_FC4smp ( : b*******[email protected]) (gcc version 4.0.2 20051125 (Red Hat
| m******t 发帖数: 2416 | 5 First I would suggest, if possible, to bring C's kernel version up to the
same as B? Or bring B back down (temporarily) to the same as C's and see if
it happens in B.
Also try removing the -XX fine-tuning options. |
|