-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't working
Description
const boa = require('@pipcook/boa');
const { bytes } = boa.builtins();
async function sleep(ms){
const delay = ms => new Promise(resolve => setTimeout(resolve, ms));
await delay(ms);
}
async function test(){
while(1){
let buf = Buffer.from('f'.repeat(10000000));
aa = bytes.fromhex(buf.toString('hex'));
await sleep(1000);
console.log(aa.slice(0,10));
}
}
test();
run it in docker, and run "docker stats" to watch the memory.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working