Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REQ: Memory Reduction - replace mime-types with mini_mime #61

Closed
drush opened this issue May 2, 2019 · 1 comment
Closed

REQ: Memory Reduction - replace mime-types with mini_mime #61

drush opened this issue May 2, 2019 · 1 comment

Comments

@drush
Copy link

drush commented May 2, 2019

BACKGROUND:
Mime-types is a large, memory intensive gem. Example of allocated memory via derailed bundle:objects:

allocated memory by gem
-----------------------------------
  30106245  activesupport-5.2.1
   6303003  mime-types-3.2.2
   1771271  addressable-2.6.0
   1748528  activerecord-5.2.1
  ...

The equivalent functionality can be accomplished without incurring so much memory overhead using mini_mime gem.

See this issue on mini_mime for details on how to reduce. Major projects are already adopting.
discourse/mini_mime#6

@dmitry-mukhin
Copy link
Member

thanks for the suggestion

@rsedykh rsedykh closed this as completed May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants