Skip to content

bjendyk/express-pouchdb-memleak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

express-pouchdb-memleak

A sample app to reproduce and visualize the memory leak problem with express-pouchdb and dbs/<db_name>/_changes GET request. See pouchdb/express-pouchdb#398.

Setting up

Run npm install to install the required dependencies.

Running

Create a database by uncommenting line 28 in index.js and run node index. Stop the server, remove or comment back line 28 and run the server again. Make sure that dbs/ directory contains the abc database.

Generating traffic

ab -k -c 10 -n 20000 http://localhost:12345/dbs/abc/_changes

Output

The memwatch memory usage stats are logged to logs/plot-memwatch.csv.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published