Skip to content

Instantly share code, notes, and snippets.

@automata
Created April 25, 2016 14:39
Show Gist options
  • Save automata/e2b37441a87548b1036ce192ebcdc88b to your computer and use it in GitHub Desktop.
Save automata/e2b37441a87548b1036ce192ebcdc88b to your computer and use it in GitHub Desktop.
sharp.cache(true):
{ rss: 140107776, heapTotal: 107423328, heapUsed: 77185488 }
{ rss: 1835532288, heapTotal: 108443232, heapUsed: 77948600 }
sharp.cache(false):
{ rss: 146997248, heapTotal: 106391392, heapUsed: 76500328 }
{ rss: 150020096, heapTotal: 106391392, heapUsed: 77437088 }
Resident memory while caching (1835 MB) is around 10x more when
caching is disabled (150 MB).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment