<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>I accidentally solved a memory leak just by enabling
"with-rtsopts=-T". <br>
</p>
<p>I knew where the issues was, in one servant client web call. It
was showing even when the call result (a Bool) wasn't used.<br>
</p>
<br>
<p>While the leak was "active", I had:</p>
<p><font size="-1"><tt>ghc-options:</tt><tt><br>
</tt><tt> -threaded</tt><tt><br>
</tt><tt> -rtsopts</tt><tt><br>
</tt><tt> -with-rtsopts=-N</tt><tt><br>
</tt></font></p>
<p>And now that it doesn't show anymore, I have:<br>
</p>
<p><font size="-1"><tt>ghc-options:</tt><tt><br>
</tt><tt> -threaded</tt><tt><br>
</tt><tt> -rtsopts</tt><tt><br>
</tt><tt> -with-rtsopts=-N</tt><tt><br>
</tt><tt> -with-rtsopts=-T</tt></font><br>
<br>
</p>
<p>I can reproduce the leak just by commenting out "<font size="-1"><tt>-with-rtsopts=-T</tt></font>"
and force rebuilding.<br>
</p>
<p>Can anyone explain what is happening?</p>
<p><br>
</p>
<p>Best regards,</p>
<p>vlatkoB<br>
</p>
</body>
</html>