I'm running a java program on many computers that interact between them. After several hours (2-5 hours) computers start failing (threads start getting into deadlocks, messages start getting lost - peculiar stuff if you take into account that in the first hour or so things were running great).
I have a suspicion that it's because I'm using too much memory. I'm running on linux so and this is the relevant output of top
:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
30376 username 18 0 976m 132m 6804 S 0 4.0 0:05.60 java
- does this seem high?
- other ideas as should why these bugs would happen would be welcomed..