Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/aikoven/node-foundationdb-memory-leak-repro
- Owner: aikoven
- Created: 2021-01-05T04:11:11.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-06T04:59:43.000Z (almost 4 years ago)
- Last Synced: 2024-11-08T10:33:30.766Z (about 2 months ago)
- Language: TypeScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```