You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AvaTax depends on an outdated version of the RestClient gem, which depends on an outdated version of the Ruby mime-types gem. This version of mime-types uses ~11mb of memory on startup, which is a f*ck ton for a gem. It isn't possible to kill this dependency until AvaTax is updated to use a more up to date version of RestClient (latest is 2.0.1)
Using the derailed gem to analyze gem memory usage on app startup for a standard Rails app:
AvaTax depends on an outdated version of the RestClient gem, which depends on an outdated version of the Ruby mime-types gem. This version of mime-types uses ~11mb of memory on startup, which is a f*ck ton for a gem. It isn't possible to kill this dependency until AvaTax is updated to use a more up to date version of RestClient (latest is
2.0.1
)Using the derailed gem to analyze gem memory usage on app startup for a standard Rails app:
Newer versions of the mime-types gem do not use as much memory, as you can read here.
The current version of Avatax uses Restclient 1.7, which uses mime-types 2.0.
By upgrading to use Restclient 2.0.1, it will depend on mime-types 3.1, which will solve this memory bloat dependency issue.
The text was updated successfully, but these errors were encountered: