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

Mac下的valgrind为什么老是提示我的heap被use

  •  
  •   crazybubble · Sep 8, 2012 · 3601 views
    This topic created in 4988 days ago, the information mentioned may be changed or developed.
    在mac下用valgrind, 可是测每一个c的program都提示有内存溢出。
    即使是最简单的helloworld的program也显示溢出,后来我试了几次发现即使是没有memory allocation的program,valgrind也会提示我alloc了32个block 1971bytes。这是什么原因呢?。。求解,我的mac是10.7.4, valgrind是3.8.0
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1177 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 17:44 · PVG 01:44 · LAX 10:44 · JFK 13:44
    ♥ Do have faith in what you're doing.