plasma-umass / Mesh

A memory allocator that automatically reduces the memory footprint of C/C++ applications.
Apache License 2.0
1.74k stars 73 forks source link

more memory usage with mesh at firefox #67

Open yongtaek-lee opened 4 years ago

yongtaek-lee commented 4 years ago

Hello. I found it and just try to use mesh with firefox at ubuntu14.04 but it seems rss is higher than default.

monitoring rss value every second during run speedometer2.0 with cat /proc//status | grep VmRSS https://browserbench.org/Speedometer2.0/

average rss MB with mesh : 445 MB average rss MB without mesh : 391MB

Also i have checked _meshedPageCountHWM value but it shows 0 after finish speedometer. I really want to see how much memory could be saved by mesh. So please share good scenario to see memory saving by mesh if possiable.

Thank you.

bpowers commented 4 years ago

@yongtaek-lee hi and thanks for the report! Can you confirm that you recompiled Firefox to not use jemalloc? Unfortunately, due to the Firefox build system we are not compatible with stock FF builds.

bpowers commented 4 years ago

here is an example of disabling jemalloc in a mozbuild file: https://github.com/bpowers/mesh-artifact-firefox/blob/master/mozconfig.nojemalloc#L27