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
infer: an infinite loop over a spy grows the trace until the memory is gone #873
self._pending_free_blocks.pop() on a spy never raises IndexError, so the loop runs until the 60 s isolate timeout. Every iteration appends to the trace, so memory grows at roughly 4 GB per 12 s: under a 4 GB RLIMIT_AS it ends in InferError: the function never ran to completion (MemoryError), without a cap it exhausts the machine first.
Nothing bounds the number of operations a single run records; the run, fork, and yield budgets do not apply to a loop that never forks or yields. A per-run operation cap (raised as a BaseException so the target cannot swallow it, and reported as an exploration gap) would end this class.
Activity