Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

189
Views
Object size in Chrome Heap Snapshot doesn't add up

I'm using Chrome Devtools's Heap Snapshot feature, which allows watching the size of objects on my website to measure where/if I need to reduce the size of my objects.

However, I'm looking at the size of an object, which is supposedly 15.5MB, but its parts are only 1.6MB, 1MB, and 0.8MB: enter image description here

Here is the structure of this object for reference (BiMap just being two Records for either direction):

interface Mappings {
    classes: BiMap<string, string>
    noDescriptorToDescriptorMethods: BiMap<string, string>
    descriptorToDescriptorMethods: BiMap<string, string>
}

Unless my math is really rusty and 0.8 + 1 + 1.6 = 15.5, what is going on here?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!