V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
liufude66
V2EX  ›  Java

项目运行过程中突然挂了,只留下这么一句话,求教各位大佬指点迷津。

  •  1
     
  •   liufude66 · Dec 29, 2021 · 3324 views
    This topic created in 1584 days ago, the information mentioned may be changed or developed.

    日志只有这么一句: malloc_consolidate(): invalid chunk size

    真心看不懂。。。

    snuglove
        1
    snuglove  
       Dec 29, 2021
    malloc_consolidate(): 无效的块大小
    jones2000
        2
    jones2000  
       Dec 29, 2021
    指针飞了吧。
    liufude66
        3
    liufude66  
    OP
       Dec 30, 2021
    @jones2000 能不能说下,怎么去定位到具体的问题位置。
    @snuglove 这个是怎么产生的? java 项目运行着,突然服务就挂了,日志里就这么一句话。
    hiwind
        4
    hiwind  
       Dec 30, 2021
    查了一下,这个是 linux 下堆内存相关的方法,可以尝试看看服务运行之后 jvm 的内存分配占用情况
    hiwind
        5
    hiwind  
       Dec 30, 2021
    @dejavuwind 结合#2 所说,可能跟对象内存回收有点关系
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2473 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 70ms · UTC 08:01 · PVG 16:01 · LAX 01:01 · JFK 04:01
    ♥ Do have faith in what you're doing.