::2:: Might be memory leak?

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
Status
Not open for further replies.

ruffah

FNG / Fresh Meat
Oct 22, 2009
46
13
0
I apologize if its against the rules to double post, but i dont know what thread this might fit into or not. The exact same post is in Bug report.

to moderator: delete or move if needed.


First of all i do not know if theres a memory leak, but the symptomes is the same as from what i've experienced earlier in other games.

Ive been playing hundreds of games for over 10 years, and all sorts of games.

When in the loading of a new map, it might seem like a memory leak, reason to belive that is the time it takes.

Like i said i cant be sure, but from what i know when a loading (depending on what system / engine is used) the engine has a code that empthy some of the old information in your Memory (RAM) while its loading the new data into the Memory.

In this process sometimes a tiny miss code can cause the engine to keep empthying the RAM, at a low rate while it is loading.

Another way to picture this is, as if your filling a cup with water, and theres a hole in the cup, it takes long time to fill the cup, if the amount of water pour'd into the cup, is almost the same amount leaking out.
Now if you pour a large amount it goes faster.
So if you have a slow computer that has a slow type of RAM, or a bottleneck in your hardware, the loading might "pour" only a tiny amount of data into the cup, but just as much is leaking out as well. causing it to almost stand still EDIT: (freeze), and keep loading the data over and over and over until its all in there.
This can cause looooong loading times.

From my experience and what i know this can be called a memory leak, and usually caused in a minor almost undetectable flaw in a piece of code.

Hope the right persons might read this, so they actually could concider it might happen.

Yet again, it might not be one at all. i only would think there COULD be one.

Thanks for reading.

Ruffah
 

Rudo

FNG / Fresh Meat
Mar 17, 2010
262
29
0
Michigan
I think there is a memory leak on KF, both me and one of my friends get horrible lag after playing a bit, like up to wave 3, then the game starts to take up more and more RAM, where it starts to lag until it runs out and the game is forced to close. I checked task manager and I don't think KF should be eating up more than 1 million k..

*edit*

Oh hell I just saw the date on the OP, my bad -_-
 
Last edited:

zombinex

FNG / Fresh Meat
Jan 9, 2010
137
0
0
brazil
Well I started having problems with gfx after last patches. So it must be some new code that is not working well.
 

Marco

Active member
May 23, 2009
644
227
43
Finland
Actually i can say one major memory leak is caused by trader menu. But Tripwire are already aware of that.
The slow mapswitches is caused when it is cleaning up all that extra memory it has reserved for the leaked data.
So to reduce lags, I recommend you type in console command:
Obj Garbage
After you been to trader menu every time.

Hopefully they get this fixed on to the next patch.
 

zombinex

FNG / Fresh Meat
Jan 9, 2010
137
0
0
brazil
Actually i can say one major memory leak is caused by trader menu. But Tripwire are already aware of that.
The slow mapswitches is caused when it is cleaning up all that extra memory it has reserved for the leaked data.
So to reduce lags, I recommend you type in console command:
Obj Garbage
After you been to trader menu every time.

Hopefully they get this fixed on to the next patch.

Thanks for the info Marco!!!! =)
 
Status
Not open for further replies.