#Weakaura lag

1 messages · Page 1 of 1 (latest)

golden yacht
#

I tried turning off every single weakaura and WA still takes 40mb of memory. I tried deleting and reinstalling and same thing.

With weakaura's enabled, it goes to 200mb+ and slowly grows. I'm not entirely sure why

uncut pecan
#

memory size is not related to lag

#

except if your computer doesn't have enough ram to handle it

golden yacht
#

its lagging too though, it grows up to 400mb

#

any idea why its so high memory usage with no WA on?

uncut pecan
#

no RAM left?

golden yacht
#

im using 64% ram

uncut pecan
#

then this is not a problem

#

!profiling

mighty meadowBOT
#

You can use WA's "profiling" to assist in identifying potential performance issues.

You may access the Real Time Profiling Window by:
• Right-Clicking the WA minimap icon.
• Using slash commands.
• Keybinding these commands directly in the Keybinding menu.

Slash commands:
/wa pstart to begin a new profile - optionally include combat, boss, or a number to profile only the next time you are in combat, fight a boss, or the specified amount of time in amount of seconds
/wa pstop to finish a profile, and prepare the results
/wa pprint to view the results

Profiling measures the time each aura took while profiling was active. Thus to profile, for example, an encounter, enable it directly before the pull and disable it directly after the pull.
For an explanation of what the profile results page means see #pins message
https://cdn.discordapp.com/attachments/276508307177603072/1215722618150326382/Wow_2024-03-08_19-01-12.mp4?ex=65fdc8eb&is=65eb53eb&hm=8c763249fe8bebc576bce19064fb6e47c58fdba13ba2cd279a5febf84426087b&
https://cdn.discordapp.com/attachments/276508307177603072/1215722618628603974/Wow_2024-03-08_19-03-32.mp4?ex=65fdc8eb&is=65eb53eb&hm=fd37b6d4df871551a27189851e5fe42d5823de43de2a04185ea329b6795d2871&

golden yacht
#

but why is the weakaura taking 40-60mb with none loaded?

#

yea i did that, i have no weakauras loaded lol

#

but it still takes 40 - 60

#

not includng options which also takes a bunch

uncut pecan
#

this is not a problem

golden yacht
#

okayt

#

not sure what the means or how to fix it

#

function()
local colorRed = "FFFF3333" --"ffc41f3b"
local colorYellow = "fffff569"
local colorGreen = "FF42FF33"

local color
if aura_env.threatPercent < 70 then
    color = colorGreen
elseif aura_env.threatPercent >= 70 and aura_env.threatPercent < 90 then
    color = colorYellow
elseif aura_env.threatPercent >= 90 then
    color = colorRed
end

local threatPercent = aura_env.threatPercent .. "%"
if aura_env.config["show_position"] then
    threatPercent = threatPercent .. " (#" .. aura_env.position .. ")"
end
return WrapTextInColorCode(FormatLargeNumber(aura_env.aggroThreat), color), WrapTextInColorCode(threatPercent, color)

end

#

thats the custom function

uncut pecan
#

what is the trigger?

golden yacht
#

custom

#

its

#

Event is: UNIT_THREAT_LIST_UPDATE:target,PLAYER_TARGET_CHANGED

#

then simple function

#

function()
return aura_env.aggroThreat
end

uncut pecan
#

anthing on action tab > init?

golden yacht
#

oh yes

#

more custom

uncut pecan
#

try replace with this

#

you may have to /reload to get rid of the warning

golden yacht
#

my god

#

you are a genius