owenthereal / jqplay

A playground for jq, written in Go
https://jqplay.org
MIT License
733 stars 87 forks source link

Restrict resource usage when shelling out `jq` #175

Closed owenthereal closed 7 months ago

owenthereal commented 7 months ago

Restrict resource usage when shelling out jq

wader commented 7 months ago

jqjq fails with out of memory now 😬😢 https://jqplay.org/s/UwAvCZmbi2r

wader commented 7 months ago

Played around a bit and 20MB seem to be enough, at least when running in container like this docker run -m 20m ...

owenthereal commented 7 months ago

Played around a bit and 20MB seem to be enough, at least when running in container like this docker run -m 20m ...

No worries. I will bump it to 20MB 😄

wader commented 7 months ago

🥳 mostly because of the jqplay link on the jqjq repo page 😊