Eliote / SimpleAddonManager

A simple to use Addon Manager with profile, search, category filter, and more.
https://www.curseforge.com/wow/addons/simple-addon-manager
MIT License
4 stars 3 forks source link

SAM minimap button causes stutter #32

Closed Ophilla closed 11 months ago

Ophilla commented 11 months ago

I received this message in the chat:

[12:26 AM] Details!: an addon made your game freeze for more than a half second, use '/details perf' to know more.

and using the command showed this error.

["1"] = "Stuttering Information:",
["2"] = "An addon feature, script is using: _G.UpdateAddOnMemoryUsage()",
["3"] = "",
["4"] = "Description: Calculates memory usage of addons",
["5"] = "",
["6"] = "You may first: disable the addon feature that uses the functionality.",
["7"] = "Second: disable a script which are using the function call: _G.UpdateAddOnMemoryUsage().",
["8"] = "",
["9"] = "Callstack for Debug:",
["10"] = "[string "@Interface/AddOns/SimpleAddonManager/MiniMapButton.lua"]:32: in function `OnTooltipShow'",
["11"] = "[string "@Interface/AddOns/BigWigs/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua"]:73: in function <.../AddOns/BigWigs/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:59>",

Unsurprisingly, I do notice now that my game stutters if I mouse over the SAM minimap button.

Eliote commented 11 months ago

You can disable or change the interval of the memory usage information in the options.