1. #1
    Field Marshal Tactica's Avatar
    10+ Year Old Account
    Join Date
    Mar 2014
    Location
    9942 Apophis
    Posts
    87

    GetAddonMemoryUsage fuction

    Could someone give me the function layout for GetAddOnMemoryUsage and UpdateAddOnMemoryUsage? I am looking to print the memory usage with a slashcommand but can't find anything clear cut that calls both functions.

  2. #2
    local function AddonMemory()
    UpdateAddOnMemoryUsage()

    local total = 0
    for i=1, GetNumAddOns() do
    total = total + GetAddOnMemoryUsage(i)
    end

    print(total)
    end

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •