goja icon indicating copy to clipboard operation
goja copied to clipboard

limit resource usage

Open aybabtme opened this issue 8 years ago • 2 comments

I feel this might not be possible, but something missing in otto is being able to somehow limit how much memory a VM is allowed to use, or CPU (there's a time based interrupt thingy), and so on.

It would be pretty cool if this package allowed strict control over these.

Nice work, love to see more language interpreters!

aybabtme avatar Nov 11 '16 17:11 aybabtme

I would love to see this feature :heart_eyes:

slinkydeveloper avatar Aug 12 '20 14:08 slinkydeveloper

I would like this added too

JSH32 avatar Sep 06 '20 19:09 JSH32

It appears that there aren't any viable solutions.

sohaha avatar Mar 22 '23 11:03 sohaha

Not in scope I'm afraid. Tracking memory usage would be particularly tricky and should be something provided by the Go runtime.

dop251 avatar Mar 23 '24 12:03 dop251