Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 270 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 270 Bytes

Local run

  1. cd src
  2. npm install
  3. node server.js

Docker run

  1. docker build . -t mleak
  2. docker run -d -p 3000:3000 mleak

Request

consume memory

curl http://localhost:3000/?size=[bytes]

show memory

curl http://localhost:3000/