Page MenuHomePhorge

test_gc_stress7.js
No OneTemporary

Size
325 B
Referenced Files
None
Subscribers
None

test_gc_stress7.js

// Minimal crash: pad() + string concat in a nested loop
function pad(s, n) {
while (s.length < n) s += ' ';
return s;
}
let sink = [];
for (let i = 0; i < 10000; i++) {
for (let j = 0; j < 5; j++) {
sink.push(pad('INFO', 5) + ' ' + pad('hello', 15));
}
if (sink.length > 100) sink = [];
}
console.log('OK');

File Metadata

Mime Type
text/plain
Expires
Wed, Jun 17, 11:54 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
541891
Default Alt Text
test_gc_stress7.js (325 B)

Event Timeline