Log in

View Full Version : Memory Leak


klem
01-30-2012, 10:04 AM
I am wondering about the nature of this memory leak. In a utility I have called Membooster, which optimises memory to recover isolated unused memory, I see two things (also it can be seen in Task Manager). On the one hand the memory usage creeps up with time but I also see a quick 'ramp up' of memory usage over a minute or two, about a 40 degree slope, before it drops vertically back to what it was. I can't find a consistent cause for this.

Is anyone else seeing this 'ramping'?
Does anyone know if it is the game or some other service?

I also tried Gamebooster to close down unecessary services but it still happens.

FG28_Kodiak
01-30-2012, 10:10 AM
.Net has a Garbage Collector, this tries to free Memory if possible. So what you "see" is the Gabage Collector in Action, i think.

SEE
01-30-2012, 11:49 AM
On my system, the frequency of Launcher crashes is proportional to my video settings. I have reverted back back to Med settings for everything except Model/Damage Detail to High, Trees/Shadows/SSAO/AA Off and Vsync disabled and Triple Buffering set to off.

I also try to avoid excessive use of the zoom function when particle rendering is taking place which seems tied into the 'effects' setting.

With the above I can be in MP for a lot longer without the dreaded Launcher crash and my fps is much higher even over the dreaded low altitude hot spots.

After fitting a 2gb GFX card, I cranked the setting to High and started getting LE crashes more frequently.

JG52Krupi
01-30-2012, 11:56 AM
On my system, the frequency of Launcher crashes is proportional to my video settings. I have reverted back back to Med settings for everything except Model/Damage Detail to High, Trees/Shadows/SSAO/AA Off and Vsync disabled and Triple Buffering set to off.

I also try to avoid excessive use of the zoom function when particle rendering is taking place which seems tied into the 'effects' setting.

With the above I can be in MP for a lot longer without the dreaded Launcher crash and my fps is much higher even over the dreaded low altitude hot spots.

After fitting a 2gb GFX card, I cranked the setting to High and started getting LE crashes more frequently.

+1 apart from the odd random crash by having my setting reduced to medium I can fly for a lot longer before CTD

icarus
01-30-2012, 06:18 PM
On my system, the frequency of Launcher crashes is proportional to my video settings. I have reverted back back to Med settings for everything except Model/Damage Detail to High, Trees/Shadows/SSAO/AA Off and Vsync disabled and Triple Buffering set to off.

I also try to avoid excessive use of the zoom function when particle rendering is taking place which seems tied into the 'effects' setting.

With the above I can be in MP for a lot longer without the dreaded Launcher crash and my fps is much higher even over the dreaded low altitude hot spots.

After fitting a 2gb GFX card, I cranked the setting to High and started getting LE crashes more frequently.

+1

After fitting with a 3 Gb vid card I saw the memory usage creep up to over 2.5 GB!

priller26
01-30-2012, 08:32 PM
I must be incredibly lucky, to date I have not had a single CTD, with over 33 hours flown.

JG52Krupi
01-30-2012, 08:45 PM
I must be incredibly lucky, to date I have not had a single CTD, with over 33 hours flown.

Online? The crash is only a multiplayer bug!

Flanker35M
01-30-2012, 09:30 PM
S!

I noticed when the Launcher.exe crash was coming the game began to stutter and feel slow and unresponsive. This happened randomly but symptoms always the same: degraded performance just before crashing.

Chivas
01-30-2012, 10:51 PM
My system has never CTD or had Laucher exe error. It could be because I have COD installed on a seperate SSD, with only a copy of Windows 7 64bit and gaming peripherials installed on it. I also have quite a fast internet connection. I run the sim with everything ON and set to HIGH at 1920x1080. The only downside I have to reboot to the SSD operating system to play COD, but with the SSD it only takes seconds to reboot, load game, mission, and start to fly.

edit...it takes about a minute to reboot, 15 seconds to load COD, and another 15 seconds to load a mission and start flying.

priller26
01-30-2012, 11:47 PM
Online? The crash is only a multiplayer bug!

Relax Krupi, not need to get upset, I didnt realize the CTD issue was localized to online play. I didnt know "the crash was only a multiplayer bug"!!! Might be helpful to distinguish between "game launcher" overall, and "online player" launcher.

icarus
01-31-2012, 12:12 AM
I get CTD's and freezes sometimes and I have it on an SSD and I get them SP as well as MP.

ATAG_Keller
01-31-2012, 01:29 PM
I find that the memory leak is related to the presence of other planes. If I take off at an airfield where I am the only plane in the area I use about 44% of my 8 Gigs of ram. If there are multiple planes (3-5) in the area my frame-rate is very low and my ram usage is in the area of 57%.

JG5_emil
01-31-2012, 01:37 PM
For me it's seems like it happens after about the same amount of time online around the one hour mark. When teh JG27 guys guys did those coops I found it worse but hard to say if it happened sooner, my system just suddenly started slowing down and juddered to a halt then crashed.

From the update it does sound like they now what the issue is and that it's on it's way to be fixed.

Fingers crossed

mazex
01-31-2012, 02:33 PM
If you are a memory SM kind of guy/girl do this:

Make an online sortie, land and switch the skin of your plane a couple of times. If you have process explorer or similar running you will probably see a very large memory leak spring off - the size of the hole in Titanic so your "launcher.exe" process will soon die... If this does not work the first time - fly some more and repeat the skin switch... Boom.

Flanker35M
01-31-2012, 09:38 PM
S!

It was funny how Kegetys noted when he made the tweaks for CoD that it uses insanely big files for nothing. Could achieve at least the same with smaller sizes as his mod proved...But let's hope the patch fixes it as Luthier mentioned launcher.exe crash was related to an old part of GFX code that was rewritten now..we will see though :)

Untamo
02-01-2012, 08:32 AM
S!

My CTDs stopped after I went from 4GB -> 8GB. I haven't flown much, but the times I do, I am online. With a few 1+h sessions I haven't had the CTD yet.

icarus
02-03-2012, 02:32 AM
S!

My CTDs stopped after I went from 4GB -> 8GB. I haven't flown much, but the times I do, I am online. With a few 1+h sessions I haven't had the CTD yet.

Mine didn't, I have 8 Gb.

ZaltysZ
02-03-2012, 05:51 AM
.Net has a Garbage Collector, this tries to free Memory if possible. So what you "see" is the Gabage Collector in Action, i think.

I think so too. People should not put too much attention to spikes of memory usage, because garbage collector does not free the memory the moment it becomes unused, it does free it when it thinks it is good time to do that.