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
Running an Eval() against a VM without allocating new variables leaks memory. If no allocation happens within the VM, the memory profile of the VM should remain stable.
This seems to make the Yaegi VM unsuitable for long-running purposes.
The text was updated successfully, but these errors were encountered:
The following program
sample.go
triggers an unexpected resultExpected result
// steady memory consumption
Got
// growing memory consumption
Yaegi Version
0.16.1
Additional Notes
Running an
Eval()
against a VM without allocating new variables leaks memory. If no allocation happens within the VM, the memory profile of the VM should remain stable.This seems to make the Yaegi VM unsuitable for long-running purposes.
The text was updated successfully, but these errors were encountered: