aikoven / node-foundationdb-memory-leak-repro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-foundationdb memory leak repro

This repro runs an infinite loop that makes read-only transactions. This results in process memory usage growing indefinitely.

Setup

Build:

docker-compose build

Init FoundationDB:

docker-compose up -d foundationdb
docker-compose exec foundationdb fdbcli --exec 'configure new single ssd'

Run app:

docker-compose up app

The app will output NodeJS heap usage and process memory usage every 10 seconds.

Teardown:

docker-compose down -v

About


Languages

Language:TypeScript 64.2%Language:Dockerfile 35.8%