Memory leak in Final Fantasy XI

General information and assistance with dgVoodoo.

Memory leak in Final Fantasy XI

Postby itsnotaname » 2019-8-05 @ 12:27

There appears to be an issue with a memory leak when using dgVoodoo with FFXI. For comparison's sake, a game running without dgVoodoo will usually consistently use up around 250~300 MB. Using dgvoodoo, the memory used by the game slowly climbs up up to 600+ MB, and then randomly drops several hundred MB. However, the total amount of memory used reported by Windows 10 does not decrease, and slowly keeps going up and up.

Over a week or so it'll go from about ~30% to 70+%, and shutting down the game completely does not free up the memory used. When not using dgVoodoo, this does not happen.

I saw that there was an update that was supposed to address a memory leak (2.55.4.1), primarily for third party tools. Although I do not use any, I tried it out, with no change. I recently upgraded to 2.6, and the behavior still persists.
itsnotaname
Newbie
 
Posts: 2
Joined: 2019-8-05 @ 12:04

Re: Memory leak in Final Fantasy XI

Postby Dege » 2019-8-14 @ 13:45

Over a week or so it'll go from about ~30% to 70+%, and shutting down the game completely does not free up the memory used.

Killing the process should infer freeing all of the memory (on the OS side) it leaked.

Using dgvoodoo, the memory used by the game slowly climbs up up to 600+ MB, and then randomly drops several hundred MB.

Is video memory counted into the total amount of memory reported?
I ask it because according to my experience mechanism of caching the video memory (at least for D3D11) at OS level lets the cache go up to some large threshold and it only gets freed after exceeding the limit. Back some time ago when I experimented with this, releasing a D3D11 object (texture or sg) didn't cause the reported video memory to decrease at all (I think it's optimized for on-the-fly Create/Release usage patterns).
Dege
Oldbie
 
Posts: 1434
Joined: 2003-9-04 @ 11:06

Re: Memory leak in Final Fantasy XI

Postby itsnotaname » 2019-8-14 @ 15:46

I'm aware it's supposed to free up the memory on shutdown, but for whatever reason... it doesn't always properly do this. It's rather noticable as I tend to have to restart my computer every so often due to it, but never had it happen without dgVoodoo, so I'm not sure what else could be the problem.

Unsure how video memory is counted, since it reports both dedicated and shared GPU memory, although the memory usage I was reporting earlier was for the executable itself as reported by task manager. Dedicated is definitely not included as I managed to run that up to 3+ GB in a failed attempt at trying to forcefully replicate the issue with memory not freeing up on shutdown. Shared memory tends to sit at 0.0~0.2 GB no matter what.
itsnotaname
Newbie
 
Posts: 2
Joined: 2019-8-05 @ 12:04


Return to dgVoodoo General

Who is online

Users browsing this forum: Lucian1984 and 1 guest