<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/62320>62320</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            llvm-bolt with -instrument - huge memory consumption
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          zamazan4ik
      </td>
    </tr>
</table>

<pre>
    I am trying to instrument ClickHouse binary with `llvm-bolt -instrument`. It consumes more than 40 Gib RAM and is OOM-killed. Is there a way to reduce `llvm-bolt -instrument` memory consumption? 
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kLuO2zwQhZ-GagYW6KEu3oLF_n-gxMVigbwBKY4lxrwYvMTQPn1gZQGnCFKx4OCc7zsqZ7sEIsn6_1j_pVG1rDHJD-XVhwqdvTY6mk2eQXkoabNhgRLBhlxS9RQK_O_sfP0WaybQNqi0wd2WFdjAnfvpDzq6AofnPRt4C-cCcwy5esrgYyIoqwrQcfhqNXx_fQMVDNgM7-9vh6t1jkwL5wxlpUSg4K62B0QiU2f6VxN48jFtn2W3YmNgYoLGSGFexItqSB6HE-LIRyGaVXamN3N3Ol34MGrNL-Nw6YW4dEfUw-nIsbESOQreoTiO2AvR0tAP3PT6chxH5CfDOk5eWdc-kNqYlsbmXEkOKJA3TmlyeZ8aMdAd9k-G-Fg-yd8adcms487mkp8pxRZH8um5b_yHLBxgrQv9Rbipycm1lFtm4pXhxHBabFmrbufoGU6PzM_ncEvxB82F4bSDZYbTDv4rAAD__2iPtfk">