Particular action with indexed db causes memory leak in safari. This is an sample repository for this.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
www
.gitignore
LICENSE.md
README.md
index.js

README.md

What is this ?

This is an sample repository to reproduce Safari indexed db memory leak bug.

Usage

Launch server.

node .

Then open http://localhost:8888 with Safari.

Choose either "leaking sample" or "no leak sample".

Open Timeline of Dev Tools and begin to record.

Reload the page.

Check the memory snapshot out if window object is duplicated.

Remarks

This bug can be reproduced in Safari 11.x of both Mac and iOS.

Lower versions of Safari may contain the same issue but not tested yet.