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
{{ message }}
Repository navigation
High memory usage with a simple string vector example #1673
T-CBMCIssue related to an existing CBMC issue[C] BugThis is a bug. Something isn't working.[E] PerformanceTrack performance improvement (Time / Memory / CPU)
T-CBMCIssue related to an existing CBMC issue[C] BugThis is a bug. Something isn't working.[E] PerformanceTrack performance improvement (Time / Memory / CPU)
Activity
zhassan-aws commentedon Sep 13, 2022
As with #1657, if I replace this line:
with:
Verification time goes down to 22 seconds, and memory usage down to 143 MB!
zhassan-aws commentedon Sep 13, 2022
If I use a poor man's vector implementation such as the one below, I don't observe any blowups in memory:
With
N= 15, verification time is 75 seconds, and memory usage is under 200 MB.tautschnig commentedon Oct 10, 2022
Still WIP, but diffblue/cbmc#7230 might help here: the example at the top of this issue takes 18 seconds instead of 428 on my machine.
tautschnig commentedon Nov 9, 2022
With diffblue/cbmc#7230 on top of diffblue/cbmc@70b7cf7baf735f I get "Verification Time: 3.781643s" when it takes 471.05692s using diffblue/cbmc@70b7cf7baf735f and Kani revision 057926b.
zhassan-aws commentedon Nov 9, 2022
Awesome! Thanks @tautschnig! Did the memory usage go down as well?
tautschnig commentedon Nov 10, 2022
Memory consumption appears to be below 250 MB :-)
zhassan-aws commentedon Nov 10, 2022
Nice!