WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Carbonite Archive (https://www.wowinterface.com/forums/forumdisplay.php?f=158)
-   -   Quest Lag (https://www.wowinterface.com/forums/showthread.php?t=46245)

Mardread 04-10-13 04:39 PM

Quest Lag
 
I am doing the dailies on isle of thunder and my carbonite is eating memory causing lag spikes in fps. At one point, the carbonite.quests module was using 23 MB of memory. It is extremely noticeable. I am running a 680GTX and have no issues running WoW at all, so there seems to be an issue here and it appeared with the latest update, beta 9 and patch 1.

Other than that, it is working very well. Thank you for all your hard work.

anteract 04-10-13 06:31 PM

Alpha 9 R 1 Memory Leak
 
Not gonna get all dramatic like ^^ but there is a memory leak.

Doing nothing, staring off into space, my memory used by Carbonite is slowly increasing. 11.12Mb to 11.81Mb in just the time it took to type this out.

Rythal 04-10-13 06:38 PM

it fixes itself when garbage collection happens, it's from blizzards strsplit function... trying to find an alternative to it

Mardread 04-10-13 06:46 PM

Quote:

Originally Posted by Rythal (Post 276218)
it fixes itself when garbage collection happens, it's from blizzards strsplit function... trying to find an alternative to it

I know it corrects itself and I can dump it manually. Its the lag that is the problem. Thanks again Rythal, the new module works very well on top of that issue and I have had no problems at all following quests in all the areas.

Rythal 04-11-13 07:29 AM

I may have it figured out... was only able to test on my test account (was skipping raid to work on it :P), but Nx.Quest never went above 7.5, and Carbonie never went above 5M of usage

I replaced blizzards strsplit with my own that caches the return in a weak table

Rythal 04-11-13 03:23 PM

update on it... seems to be working in some places, and not in others... my memory usage is under control everywhere except shrine / vale, where it skyrockets rapidly ... noticed some small bugs I need to get at, but memory / lag is still priority.

Nimhfree 04-11-13 05:30 PM

Rythal, if you figure out what is happening in the Vale, please share that as I have been given reports that Grail acts up in the Vale as well, but all the other zones are fine. I have not yet been able to track it down.

Rythal 04-13-13 01:52 AM

Quote:

Originally Posted by Nimhfree (Post 276282)
Rythal, if you figure out what is happening in the Vale, please share that as I have been given reports that Grail acts up in the Vale as well, but all the other zones are fine. I have not yet been able to track it down.

Not sure if it's the same issue for you, but from what i've found so far, the moment your avatar crosses into the shrine boundries WORLD_MAP_UPDATE starts firing a billion times a second.

I've got it echoing each event fire right now, and anywhere else it's the normal every 8-10 seconds for 1 fire... soon as I cross that invisible line, my chat is flooded with them.

Dman24 04-13-13 11:12 AM

So i was doing some quests today on an Alt and noticed the random FPS drops and thought it was just because i was in a busy area. Today I'm doing old quest for achievements and noticed it, decided to look into it and started disabling add-ons. Nothing was working so i saw hell let me try Carbonite, disabled it lag went away.

So I started putting parts back on in Carbonite one by one and found the Quests module was causing the FPS lag. So currently running everything on Carbonite except for the quests module currently. Hope to get this fixed soon.

Oh and also is it just me or is the Shrine Of Two Moons causing fps to be single digits at times?

LothwenTLU 04-13-13 09:52 PM

Same issues with lag and jerkiness as Dman24 - had improved over last time I said something about it, but got bad again - disabled quests module, and it all runs smoothly. This was especially bad in the Isle of Thunder, in the Ihgaluk Crag area, when I had the roach-stomping quest. Every time I'd step on one, it'd freeze up for half a second or so.

Dman24 04-13-13 10:11 PM

So to answer my own question regarding the lag in the Shrine of Two Moons I was at about 15 FPS which is really low. So i did what i did with the lag in the low level questing zones I disabled the quests module and boom 40 FPS.

So I don't know if its LUA errors (have an add-on that doesn't show them) or what. This is on Ultra Settings with latest graphics drivers and a Nvidia GTX 660 card recently bought on Thursday so fairly new.

Rythal 04-14-13 06:29 AM

So... just uploaded R2, let me know how it compares performance wise


Some changes:
Added time since last run checks to quest watch window (updates every 2 seconds at minimum) and zone scanning for blizzard quest info (2 seconds again).

Caching string splits mentioned above

Found and fixed the problem with two moons and seven stars by forcing carbonite to always say your in vale. The memory usage in those 2 places was from Carbonite thinking your in a new zone while in either shrine, and fighting with itself since one AreaID call gave vale's number, and the other gave shrines number so it was constantly jumping between the two every few milliseconds.

Dman24 04-14-13 12:41 PM

Just testing it out and Shrine of two Moons is back to the normal FPS doing at about 65 FPS with quest module turned on.

And with the quest tracking when you have to kill certain amount there is little to no FPS drop :) great work man.


All times are GMT -6. The time now is 04:23 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI