Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aikoven/node-foundationdb-memory-leak-repro


https://github.com/aikoven/node-foundationdb-memory-leak-repro

Last synced: 3 days ago
JSON representation

Awesome Lists containing this project

README

        

# 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:

```bash
docker-compose build
```

Init FoundationDB:

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

Run app:

```bash
docker-compose up app
```

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

Teardown:

```bash
docker-compose down -v
```