|
From: 王阳 <412...@qq...> - 2015-06-11 10:19:43
|
Hi. I download the latest version 3.10.1,but helgrind use memory over 64G and got a error from valgrind because of over the momory limit. I used the option --stats=yes, I noticed that valgrind print message below endless util to use 64G memory. --28682-- univ_laog_do_GC enter cardinality 9614 --28682-- univ_laog_do_GC exit seen 6591 next gc at cardinality 9615 why? DRD have not that problem ,but DRD 's message is not accurate comparing with helgrind. ------------------ 原始邮件 ------------------ 发件人: "我自己的邮箱";<412...@qq...>; 发送时间: 2015年6月11日(星期四) 上午9:20 收件人: "Philippe Waroquiers"<phi...@sk...>; 抄送: "valgrind-users"<val...@li...>; 主题: [Valgrind-users] 回复: helgrind use more than 32G memory. Hi. Thank you for your reply. Verison is 3.6.0,very old one,I will try version 3.10.1 and svn version,and also try two options you said. ------------------ 原始邮件 ------------------ 发件人: "Philippe Waroquiers";<phi...@sk...>; 发送时间: 2015年6月11日(星期四) 凌晨3:42 收件人: "王阳"<412...@qq...>; 抄送: "valgrind-users"<val...@li...>; 主题: Re: [Valgrind-users] helgrind use more than 32G memory. On Wed, 2015-06-10 at 19:17 +0800, 王阳 wrote: > My answer is that helgrind really need more than 6 times or even more > memory than before ,is that true? > or helgrind have a bug? The memory needed by helgrind might depend on what your program does. Typically, it needs twice the original, but it might be a lot more. Which version of Valgrind are you using ? In the SVN version, some memory improvements have been done. The best is to get the latest SVN version, compile it, then run with --stats=yes. That will give some indications where the memory is taken. More detailed information can also be obtained by using --profile-heap=yes Philippe |