<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/59174>59174</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
BOLT: Assertion failed: allocator ran out of memory
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
vient
</td>
</tr>
</table>
<pre>
Hi, I've build PGO+LTO Clang and instrumented it with BOLT. After that I run it on my test codebase, and it fails pretty early on one of files with mentioned `Assertion failed: allocator ran out of memory` error.
I've found [this string in sources](https://github.com/llvm/llvm-project/blob/d941fceca8e9bc9b5a00c9865ee022ba5507df32/bolt/runtime/instr.cpp#L156) but it's not clear for me what my next moves can be. Looks like there are no options to deal with it (or are they?), is it a bug in BOLT or conscious limitation which I can try to up or something else?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVk82OmzAUhZ_GbK6KwA4EFiySGaUdKVK6mBewzSW4YzCyTVLevtdMq65HAoyx78_5jlGu37ofhvEXeGP8-EBQq7E9_Px-Y_x8fb_Bi5XzHeTcg5lD9OuEc0SaRHiaOML5dn3P4TRE9BBHGeEN_DqnZTfDtEHEEEG7HpUMmMrsmSIM0tgAi8cYN0Dp7ZYC3IzgBhiMxfCZP5Uz9LkHVhenENCn6R6OPRMnkNY6LaPz4CUlWGNKMOHk_EYRgN47n7PilRWnz-dfnYNbqRNWneNoApAyQzLNDMGtXmNg1SvjzRjjEqgK4xe67tTQqnLtJppY-_g3fFu8-4U60lRZp2jo20M5aNSywVbpVlWyKHTb1BViwbmSVVUc-0HwFOFsCiRo0UxE6LJjzvWyMC6uZVUz3pIpkaBR4wFmRzwtESMFnoTCM1En0jP-ptE9iJwmEgpzuDr3EcCaDyRv0CNIumcHbkkQA0QHPUr7SZpMIcWUM22i7RsTJLpNnhEgWpXUxo4oeQ60UVMObdyaSkwmyt2Z52j0SKcg9RD9lmqsS9od3ITEmiijpaMgLhl2ZV23nLcFb7O-E30rWplFEy12qUay94uWZ6u33ZddMyGsZDm_VG15PGRjVwkl62JQzXA8FlJqgXhojvWhEmVZ86bJrFSkoqPjwzif8Ql7Cnqnc5OZjpPLZclF2RyEqHPVUCgfhCplL7HS7FDgRHLy1Efu_D3z3d4SAQ60aE2I4f-iDMHcZ8S9HOWXaxyd7x6G_o1sL9ztjf8BXhhAmw">