Tercioo / Details-Damage-Meter

Addon for World of Warcraft, does combat analyzes offering clean visual data for the player
Other
174 stars 130 forks source link

WTF details.lua & .bak is eating up huge space over years #375

Open Voxxel opened 1 year ago

Voxxel commented 1 year ago

Hi there,

So I just realized my Retail WTF folder gets strangely huge in size of a whopping 700MB and I just realized Details ate up 95% of space as it takes 20-22MB for each characters I have in WoW, multiplied by 2 for the autosave backup file. I use Details (base addon without streamer/vanguard/whatever plugins) for several years now but compared to other addons (the next largest is Prat3.0 with only 225KB) Details' wtf files looks strangely HUGE!

I do not consciously save segments afaik, I'm not interested to keep charts data / segments for later use. It may be turned on by default or I don't know why it eats up so much space but please help me how on Earth can I reduce the everyday WTF space usage of Details for all my 60 characters across the realms. Without deleting my addon settings (window size, position, used fonts, etc.) of course.

Is there any solution for this?

Tercioo commented 1 year ago

Hi, that's something interesting, let's figure out what's going on, shall we?

You need a software from Microsoft called "Visual Studio Code", open the 22mb file on it.

Minimize all tables (after the line number there's an arrow pointing down, click on it and it will point right and minimize the table) and see which one is taking more lines, this is an example on a 126Kbytes file:

https://gyazo.com/1663cc1ebd4d9c5233fede82abf8d0d2

Let me know which are the names of the tables with an absurd amount of lines (absurd >= 50 thousand lines).

Thank you!

------ Original Message ------ From: "Voxxel" @.> To: "Tercioo/Details-Damage-Meter" @.> Cc: "Subscribed" @.***> Sent: 09-Nov-22 6:52:56 PM Subject: [Tercioo/Details-Damage-Meter] WTF details.lua & .bak is eating up huge space over years (Issue #375)

Hi there,

So I just realized my Retail WTF folder gets strangely huge in size of a whopping 700MB and I just realized Details ate up 95% of space as it takes 20-22MB for each characters I have in WoW, multiplied by 2 for the autosave backup file. I use Details (base addon without streamer/vanguard/whatever plugins) for several years now but compared to other addons (the next largest is Prat3.0 with only 225KB) Details' wtf files looks strangely HUGE!

I do not consciously save segments afaik, I'm not interested to keep charts data / segments for later use. It may be turned on by default or I don't know why it eats up so much space but please help me how on Earth can I reduce the everyday WTF space usage of Details for all my 60 characters across the realms. Without deleting my addon settings (window size, position, used fonts, etc.) of course.

Is there any solution for this?

— Reply to this email directly, view it on GitHub https://github.com/Tercioo/Details-Damage-Meter/issues/375, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEVKWGC6VGGROLU7OJ5W7LWHQMLRANCNFSM6AAAAAAR34QXQI. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Voxxel commented 1 year ago

Ok, so I installed the Visual Studio Code but couldn't figure out what to do here or how does it work. Where are tables to minimize? Also, couldn't figure out how to bring up that arrow icon.

Would you please check it instead of me? Here's the file:

[Uploading Details.zip…]()

or here: https://drive.google.com/file/d/1DyBmzIlSM6zShf3EbOPgDMCkl4x7AMxN/view?usp=sharing