V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
liuwenfeng554
V2EX  ›  2018

Linux Java 进程占用内存飙高原因,导致 Linux 强杀,求大神指点?

  •  
  •   liuwenfeng554 · 2018-04-02 13:17:56 +08:00 · 1292 次点击
    这是一个创建于 2218 天前的主题,其中的信息可能已经有所发展或是发生改变。

    代码没有内存泄露,长时间开着内存一直在增加,导致某个大的被杀掉

    [root@stream logs]# free -g total used free shared buff/cache available Mem: 15 8 5 0 1 7 Swap: 0 0 0

    [root@stream logs]# top top - 13:14:08 up 6 days, 2:02, 3 users, load average: 0.15, 0.13, 0.14 Tasks: 206 total, 1 running, 205 sleeping, 0 stopped, 0 zombie %Cpu(s): 1.1 us, 0.2 sy, 0.0 ni, 98.6 id, 0.0 wa, 0.0 hi, 0.1 si, 0.0 st KiB Mem : 16267868 total, 5757884 free, 8479136 used, 2030848 buff/cache KiB Swap: 0 total, 0 free, 0 used. 7413668 avail Mem

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    23392 root 20 0 3764144 149368 14068 S 4.3 0.9 0:07.10 java
    23267 root 20 0 3766192 166640 14128 S 1.0 1.0 0:09.20 java
    24153 root 20 0 3764144 146768 14108 S 0.7 0.9 0:07.43 java
    24411 root 20 0 3766192 194480 14068 S 0.7 1.2 0:31.40 java
    22545 root 20 0 3764144 133624 13916 S 0.3 0.8 0:04.16 java
    22755 root 20 0 3766192 192436 14052 S 0.3 1.2 0:08.19 java
    22971 root 20 0 3764144 146672 14052 S 0.3 0.9 0:06.63 java
    23139 root 20 0 3766192 153868 14108 S 0.3 0.9 0:08.26 java
    23308 root 20 0 3766192 159940 14120 S 0.3 1.0 0:09.29 java
    23350 root 20 0 3766192 148472 14056 S 0.3 0.9 0:07.29 java
    23440 root 20 0 3766192 146636 14056 S 0.3 0.9 0:06.98 java
    23476 root 20 0 3766192 151900 14124 S 0.3 0.9 0:08.16 java
    23689 root 20 0 3766192 157112 14112 S 0.3 1.0 0:08.07 java
    23860 root 20 0 3766192 148032 14096 S 0.3 0.9 0:07.55 java
    23898 root 20 0 3764144 128280 14020 S 0.3 0.8 0:06.04 java
    23989 root 20 0 3766192 181688 14140 S 0.3 1.1 0:13.62 java
    24111 root 20 0 3766192 142628 14072 S 0.3 0.9 0:06.53 java
    24363 root 20 0 3764144 145956 14056 S 0.3 0.9 0:07.48 java
    24446 root 20 0 3766192 171128 14056 S 0.3 1.1 0:11.92 java
    24616 root 20 0 3764144 148288 14068 S 0.3 0.9 0:07.54 java

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5384 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 08:31 · PVG 16:31 · LAX 01:31 · JFK 04:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.