<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,</p>
<p><br>
</p>
<p>I'm investigating high memory usage of my program: RSS varies between executions in range 20-50 GB, though it should be determenistic. I've found that all the memory is allocated in this stack:</p>
<p><br>
</p>
<p></p>
<div>Allocated 17673781248 bytes in 556 allocations</div>
<div> cds_lfht_alloc_bucket_table3 from liburcu-cds.so.2.0.0</div>
<div> _do_cds_lfht_resize from liburcu-cds.so.2.0.0</div>
<div> do_resize_cb from liburcu-cds.so.2.0.0</div>
<div> call_rcu_thread from liburcu-qsbr.so.2.0.0</div>
<div> start_thread from libpthread-2.12.so</div>
<div> clone from libc-2.12.so</div>
<div><br>
</div>
<div>According pstack it should be <span>quiescent state. Call thread waits on syscall:<br>
<div>syscall</div>
<div>call_rcu_thread</div>
<div>start_thread</div>
<div>clone</div>
<div><br>
</div>
</span></div>
<div><span style="font-size: 12pt;">We use </span><span style="font-size: 12pt;">urcu-0.8.7, only rculfhash (QSBR). Is it some kind of leak in RCU or any chance I misuse it? What would you recommend to troubleshoot the situation?</span><br>
</div>
<div><span style="font-size: 12pt;"><br>
</span></div>
<div><span style="font-size: 12pt;">Eugene</span></div>
<p></p>
</div>
</body>
</html>