repositories / smith
smith
There are many coding harnesses - but this one is fast
owned by bugabinga
prototypes/p10-lua-plugin-heap-limit/plugins/oom_string.lua
Raw-- P10 fixture: unbounded string growth via repeated concatenation.
-- Doubles the string each iteration, so allocation sizes grow geometrically.
local s = "xxxxxxxxxxxxxxxx"
while true do
s = s .. s
end