quil-lang / qvm

The high-performance and featureful Quil simulator.
Other
411 stars 57 forks source link

Garbage collect old async jobs and persistent qvms #207

Open appleby opened 4 years ago

appleby commented 4 years ago

Currently, if a user does not call the delete-qvm and/or delete-job RPC methods to delete persistent qvms and async jobs when they are done with them, then the objects will persist indefinitely. We might consider garbage collecting sufficiently old objects after some timeout, to prevent unused objects from consuming RAM.