BMS Crashes after time spent in flight - Memory Usage warning appears moments before crash - Memory Leak issue?
-
I do think as well that your system is barely enough to sustain the needs of BMS…
-
I think the question is, does BMS min-require 4Gb of dedicated video ram … or should this work, and there’s a leak somewhere (eg. managing texture memory as it loads from system ram to video ram).
I don’t know enough about the DirectX programming model, to comment intelligently … is there even an opportunity for such a leak in BMS code – or does DX library manage all the texture-memory swapping between system ram and video ram?
-
A memory leak is always possible but we have chased a lot of them (especially @Seifer ) over the last 2 years…
Now, let’s be realistic:
MX110 has 2Gb of dedicated VRAM but this video card generation is quite old (Released in 2017) and is very dumbed down series GTX10XX series…
Now 8Gb of RAM for WIndows 10 is barely enough…
By design, Win10 will use around 4 to 6 Gb without doing muchBMS will use from 2 to 5 GB depending on the load.
Do the math, you’re barely make the cut from a memory perspective!
Tune down everything in BMS from GFX perspective and how it goes but I don’t have much hope
Cheers
PS: A pagefile at 100% isn’t good at all…
-
@airtex2019 said in BMS Crashes after time spent in flight - Memory Usage warning appears moments before crash - Memory Leak issue?:
I think the question is, does BMS min-require 4Gb of dedicated video ram … or should this work, and there’s a leak somewhere (eg. managing texture memory as it loads from system ram to video ram).
I don’t know enough about the DirectX programming model, to comment intelligently … is there even an opportunity for such a leak in BMS code – or does DX library manage all the texture-memory swapping between system ram and video ram?
BMS Engine doesn’t leak texture memory. If it would I believe we would know for sure (Our Dev version uses much more texture memory and it’s loading/unloading fine )
-
@MaxWaldorf Jesus , I’ve never seen pagefile at 100% and that 17GB’s… - that’s double the ram , even hiberfile would be, what, 8GB’s
What’s the load? OS and BMS only?? - not so sure
While he could do some “housekeeping” and disable backgroud apps/services before play … you know , make a batch “sc stop …” , “taskkill …”
… - maybe , just maybe -
@white_fang yeah who knows what is leaking … without seeing the working-set and commit-charge from FalconBMS.exe it’s hard to comment further.
Is there a way to reduce / constrain the GPU ram, for testing purposes? Surely there must be… but it seems a hard thing to google for.
-
There is a memory leak related to new refueling code, although it is not very serious (happens on aggregation of tanker flights). So unless you are experiencing this kind of situation (agging deagging tankers several times), either this is something new we have not detected or something wrong on your system. Hard to say.
In any case, this leak I mentioned is fixed for 4.36.1.
-
Depends… I was on a 4GB ram laptop on windows 10 for many years and working office apps and gfx like corel and photoshop for “light” gfx and even standart video editing…
I’m not saying 4GB is ok for BMS, just saying that you can strip down windows 10 to save resources and memory usage and avoid the 4-6GB eaten by OS on just running the OS.
It’s not that easy or straigth foreward but it’s doable if u invest the time and knowledge and experience on it. Small steps on it so not to get a non working OS. -
I’d say that this laptop - system doesn’t “quallify” for BMS running…
that simple. -
run TaskMgr during a long flight
Will do, thanks for the tips.
@I-Hawk said in BMS Crashes after time spent in flight - Memory Usage warning appears moments before crash - Memory Leak issue?:
2GB may be the “announced VRAM”
It shows Display Memory (VRAM): 2010 MB and Shared Memory: 4036 MB.
Now 2010MB VRAM is simply not enough for BMS anymore?@white_fang said in BMS Crashes after time spent in flight - Memory Usage warning appears moments before crash - Memory Leak issue?:
I’ve never seen pagefile at 100% and that 17GB’s
Any idea on what that means and why it’s using so much?
I’ll tune down everything I can graphics-wise and see if it helps. I’ve already closed every app running in the fore and background (even turning off the antivirus completely) besides anything essential for windows, but it didn’t seem to make any difference.@Arty said in BMS Crashes after time spent in flight - Memory Usage warning appears moments before crash - Memory Leak issue?:
this laptop - system doesn’t “quallify” for BMS running
Sad. Up until the last version of 4.35 I could comfortably run OBS and record at 1080p 60fps while flying 4 hour long flights without ever having a memory issue in this same system. Now suddenly it’s unplayable even with the minimal and only necessary apps running in the background, right after a complete restart?
-
@ArcherAC3 said in BMS Crashes after time spent in flight - Memory Usage warning appears moments before crash - Memory Leak issue?:
Now 2010MB VRAM is simply not enough for BMS anymore?
I must defer to BMS team to say what the minimum system requirements are. Both 4.35 and 4.36 seem to utilize about 3 Gb of video-ram. Add some padding for Windows and other apps … I’d say 4 Gb would probably be the “recommended” system requirement for dedicated video-ram.
With the added “shared” memory, it’s enough to run … it just becomes a performance drag (when the gpu has to pull textures from system memory, it’s much slower than the super-fast memory onboard the video card). Also it subtracts away from available system ram, which you need every bit of…
Any idea on what that means and why it’s using so much?
This is what a memory leak looks like, on a virtual memory operating system. It consumes all physical ram then spills over to fill up the pagefile.
But no idea who or what is responsible for the leak … which is why we need to see a little more data from TaskMgr to help solidify this. So far, nobody else is reporting this … and it could literally be anything … a buggy driver, a virus, some other software, whoknows.
I can believe you when you say 4.35 was ok and 4.36 is not … but I want to see the working-set and commit-charge numbers.
-
@ArcherAC3 said in [BMS Crashes after time spent in flight -
@white_fang said in BMS Crashes after time spent in flight - Memory Usage warning appears moments before crash - Memory Leak issue?:
I’ve never seen pagefile at 100% and that 17GB’s
Any idea on what that means and why it’s using so much?
I’ll tune down everything I can graphics-wise and see if it helps. I’ve already closed every app running in the fore and background (even turning off the antivirus completely) besides anything essential for windows, but it didn’t seem to make any difference.Last time I saw pagefile at 100% was in win98-xp era… Forgot how many years ago.
What it means is very possibly what @seifer said , memory leak.
Unless you don’t run photoshop with ultrahigh resolution image in the background., something is eating ram for breakfast.Eh, now , till today there is no easy way to see what is using pagefile. , you may see only overall usage. commit size under performance tab.
You may try “proces explorer” (sysinternals/microsoft) , need to enable some “memory” coulums (working set … etc)
See this:
https://techcommunity.microsoft.com/t5/windows-blog-archive/pushing-the-limits-of-windows-virtual-memory/ba-p/723750Process details
-
Again…
With no repro case, impossible to detect anything…
-
@airtex2019 said in BMS Crashes after time spent in flight - Memory Usage warning appears moments before crash - Memory Leak issue?:
So far, nobody else is reporting this
I remembered I have an older laptop with nvidia optimus graphics… 4th gen i7 cpu + GT 750 gpu, also 2gb vram. But 16gb system ram. I dusted it off, updated Win10 and installed BMS 4.36 to give it a try.
I only flew for about 10 minutes… TR#3, starting in air, just cruising slow over south korea. The jet-engine noise coming from my laptop was very realistic, but I couldn’t lower the volume.
FalconBMS.exe process working-set seemed very stable at ~1170 Mb … commit-charge grew slowly, from ~5200 to 5309 Mb. That’s about 10 mb/min, which seems reasonable for loading new textures while cruising over Kunsan and nearby cities. Far short of the ~100-200 mb/min your system was consuming.
Total commit-charge for the entire system was ~8.5 Gb … this was very clean Win10 with nothing else running, just TaskMgr. Total active memory in use was only ~4 Gb, so you could probably expect to get by with 8 Gb, enduring some occasional stutters due to hard-faults. But if it’s possible to buy a RAM upgrade for your laptop, to get 16 Gb, I’d recommend do it.
Don’t know if that will help or solve your leak though. I don’t know where to look next.
-
Thank you all for the replies again.
As soon as I fly again I’ll run the TaskMgr as suggested and update you here.@airtex2019 said in BMS Crashes after time spent in flight - Memory Usage warning appears moments before crash - Memory Leak issue?:
a buggy driver, a virus, some other software, whoknows.
On my last flights I made sure nothing else (but TeamSpeak) was running and memory usage was at the lowest possible. Ran a few antivirus complete scans but nothing was ever found. I might completely format my system and reinstall Falcon soon just to be sure - also, there’s an upgrade to Windows 11 available for me. Compared to Windows 10, does 11 tends to use less memory and be more stable overall for BMS?
@airtex2019 said in BMS Crashes after time spent in flight - Memory Usage warning appears moments before crash - Memory Leak issue?:
But if it’s possible to buy a RAM upgrade for your laptop, to get 16 Gb
I’m not completely sure yet it’s possible to upgrade the RAM on this laptop, but if so I’ll do it pretty soon. Not really in a position to build a proper rig now, but this Laptop seemed pretty stable to run BMS so far (albeit not at the best graphical settings and performance)
Thanks again!
-
@ArcherAC3 Is the BMS
Config set to use hires textures or lowres? -
@ArcherAC3 said in BMS Crashes after time spent in flight - Memory Usage warning appears moments before crash - Memory Leak issue?:
It shows Display Memory (VRAM): 2010 MB and Shared Memory: 4036 MB.
Now 2010MB VRAM is simply not enough for BMS anymore?2GB is nothing for texture memory yes. Here is Dev version VRAM usage:
Yes that’s ~7GB. So you can consider 2GB as “very low”. Show me any full game/sim around that is using less than 4-5GB.
Regarding leaks, guys please stop speculating, if BMS had a SERIOUS leak we would know about it and fix it already, I’m 100% sure that BMS has SOME leaks, but those aren’t critical and happen mostly probably at entry/exit to sim or 3D. But not of those are critical, because if they were, we would know.
BMS code is getting better and safer with the years regarding memory allocations, so chances for new leaks are really low, if there are any existing leaks they are probably there since long time and so nothing that could cause a crash.
@ArcherAC3 your case is simple: Texture memory has no more room, the meaning is that the system cannot allocate new textures, that will cause a crash eventually with any app/system. You need more VRAM.
-
@ArcherAC3 said in BMS Crashes after time spent in flight - Memory Usage warning appears moments before crash - Memory Leak issue?:
Compared to Windows 10, does 11 tends to use less memory
I don’t know of any real-world benchmarks to point to, but min sys req for Win10 (x64) is 2Gb RAM… Win11 is 4Gb. So, probably not a good idea without a RAM upgrade first.
-
@Dee-Jay The “High Resolution Textures” box is not checked; the Low Resolution for Clouds and Reduce Particle System are checked though.
-
@I-Hawk I’m NOT pushing leak or BMS issue, if any. But how to explain 17GB’s pagefile , OP case ??
His casio have 8GB’s ram , which is enough for win10… , add bms + textures (low res) in the pot … , shouldn’t exceed that much…Something is or in background, laptops can have many OEM bloatwares, or … dunno…
That will need to see Perfmon ram before and after. … or “newer”
Resource Monitor…See… total 32 , win10 in idle use ~4GB + ~4GB cached (actually, firefox running, add 500MB)