Code Monkey home page Code Monkey logo

firebase-leak-repro's Introduction

This repository demostrates memory leak in Firebase tests.

To run:

  1. yarn to install modules
  2. yarn test to run the tests

The output will look something like this, and eventually run out of memory (since we're setting --max_old_space_size=1024)

 PASS  services/leak3.test.ts (95 MB heap size)
 PASS  services/leak2.test.ts (136 MB heap size)
 PASS  services/leak4.test.ts (163 MB heap size)
 PASS  services/leak5.test.ts (202 MB heap size)
 PASS  services/leak15.test.ts (242 MB heap size)
 PASS  services/leak6.test.ts (265 MB heap size)
 PASS  services/leak1.test.ts (308 MB heap size)
 PASS  services/leak14.test.ts (349 MB heap size)
 PASS  services/_leak.test.ts (391 MB heap size)
 PASS  services/leak39.test.ts (393 MB heap size)
 PASS  services/leak41.test.ts (433 MB heap size)
 PASS  services/leak17.test.ts (469 MB heap size)
 PASS  services/leak29.test.ts (509 MB heap size)
 PASS  services/leak27.test.ts (549 MB heap size)
 PASS  services/leak28.test.ts (590 MB heap size)
 PASS  services/leak26.test.ts (574 MB heap size)
 PASS  services/leak43.test.ts (617 MB heap size)
 PASS  services/leak12.test.ts (658 MB heap size)
 PASS  services/leak16.test.ts (700 MB heap size)
 PASS  services/leak30.test.ts (742 MB heap size)
 PASS  services/leak42.test.ts (783 MB heap size)
 PASS  services/leak44.test.ts (762 MB heap size)
 PASS  services/leak22.test.ts (801 MB heap size)
 PASS  services/leak32.test.ts (837 MB heap size)
 PASS  services/leak19.test.ts (877 MB heap size)
 PASS  services/leak24.test.ts (870 MB heap size)
 PASS  services/leak40.test.ts (910 MB heap size)
 PASS  services/leak9.test.ts (921 MB heap size)
 PASS  services/leak18.test.ts (961 MB heap size)
 PASS  services/leak31.test.ts (973 MB heap size)
 PASS  services/leak10.test.ts (997 MB heap size)

firebase-leak-repro's People

Contributors

vojto avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.