You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! We recently started seeing OOMs in our CI boxed when running the conftest to run our policy enforcement. It was only happening when using conftest in conjunction with regula and somewhat bit terraform plan json file. I created an example project https://github.com/msarvar/contest-tracing to demonstrate the issue. The README has instructions on how to reproduce the issue.
Here is a memory usage example when running it on my machine:
p.s. The example is an output of a while loop that parses conftest out of ps aux output.
I did some digging into the code, and turn out the reason is due to always on tracing. I have a PR that will make tracing optional and only trace when --trace flag is provided. The same example repo without tracing runs under a second with less than 50mb footprint.
The text was updated successfully, but these errors were encountered:
Hi! We recently started seeing OOMs in our CI boxed when running the conftest to run our policy enforcement. It was only happening when using conftest in conjunction with regula and somewhat bit terraform plan json file. I created an example project https://github.com/msarvar/contest-tracing to demonstrate the issue. The README has instructions on how to reproduce the issue.
Here is a memory usage example when running it on my machine:
p.s. The example is an output of a while loop that parses conftest out of
ps aux
output.I did some digging into the code, and turn out the reason is due to always on tracing. I have a PR that will make tracing optional and only trace when
--trace
flag is provided. The same example repo without tracing runs under a second with less than 50mb footprint.The text was updated successfully, but these errors were encountered: