Before:
Total allocated: 257909321 bytes (2514134 objects)
Total retained: 39681579 bytes (343387 objects)
allocated memory by gem
-----------------------------------
42875979 rss
retained memory by gem
-----------------------------------
2080188 rss
retained objects by gem
-----------------------------------
13052 rss
After:
Total allocated: 210562047 bytes (2252030 objects)
Total retained: 37433816 bytes (328635 objects)
----
So, 2 less megabytes on boot and 13000 objects stuck in ruby heaps forever.
|
||
|---|---|---|
| .. | ||
| benchmarks | ||
| bulk_import | ||
| demon_test | ||
| import_scripts | ||
| .gitignore | ||
| alice.txt | ||
| bench.rb | ||
| boot_mem.rb | ||
| check_forking.rb | ||
| compile_hbs.rb | ||
| diff_heaps.rb | ||
| discourse | ||
| docker_test.rb | ||
| measure.rb | ||
| memstats.rb | ||
| micro_bench.rb | ||
| osx_dev | ||
| plugin-translations.rb | ||
| profile_db_generator.rb | ||
| pull_translations.rb | ||
| rails | ||
| redis_memory.rb | ||
| require_profiler.rb | ||
| test_email_settings.rb | ||
| test_hbs_compiler.rb | ||
| test_mem.rb | ||
| test_pretty_text.rb | ||
| user_simulator.rb | ||
| version_bump.rb | ||