Very high RAM Usage!
SimBridge is using almost 7gb of ram on my 32gb PC. Is this normal?
Latest development FBW A32NX, Latest SimBridge version.
Got 32GB DDR5 RAM and Simbridge is using more than 15GB
Same here - seems to be a memory leak. RAM use increased from 100mb to 9GB after 2hrs before I killed it. Hopefully gets fixed soon as it's RAM use caused my sim to OOM.
Also seeing this issue. After about an hour in flight, RAM usage is up to around 1500MB. While this is less than the other high values above, by this point my 99% frames has dropped into the 10s. Quite a jarring drop in performance for a 7800X3D with 32GB RAM and a 4080.
The Terrain Display has been greatly refactored in the latest release. Can you please test and let me know?
Hi @Lucky38i
I have experienced the same and I live with that few months :D
My motherboard limit is 64GB and I have 24GB installed. Also I have added Pagesize 40GB. When using Terrain it will fill RAM and Pagesize and if it go over 64GB, sim would crash. I have to monitor RAM + Pagesize usage and if I see that it goes in total to 61, 62GB then I turn off Terrain in sim and it will go down.
I will test and let you know.
Test, still goes up.
It was 57GB, when turned of terrain, after few mins, went to 40GB.
Test, still goes up.
It was 57GB, when turned of terrain, after few mins, went to 40GB.
Committed RAM is not the same as actual RAM usage. What is the actual RAM usage
Just received CTD since didn't monitor memory. It increases "In use" memory and also commited. So def., issue is Terrain radar. Overall RAM usage was nearly full. When I got CTD, it wen't to 5-6 GB in idle.
From events:
Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: FlightSimulator.exe (6728) consumed 45770653696 bytes, fbw-simbridge.exe (4156) consumed 3046891520 bytes, and Navigraph Charts.exe (4816) consumed 1790185472 bytes.
Application popup: Windows - Out of Virtual Memory : Your system is low on virtual memory. To ensure that Windows runs properly, increase the size of your virtual memory paging file. For more information, see Help.
Update:
Tested it again on the same route (and seems that it has something with it, because some routes are perfectly fine, while on others it will increase). If you are curious to try: LOWI BRENO2J BRENO M726 NAXAV M984 EVANO N850 TALEP UN850 ABRON UT250 RIXOT RIXOT1P LEPA (critical moment happen between NIVDA and BALEN waypoints)
These two images represent the state before Terrain turned on, and on highest peak before I turned off.
Simbridge process is pretty much the same, goes from 1.5-6GB before start, up to 2GB before stop Terrain on ND. But SIM has high increase from maybe 4-5GB to 8.5GB which might lead to actual issue with SIM itself, but caused by Terrain thing.
Still active issue. Related to some specific areas.
Flew route OEJN MIGDA2V MIGDA L677 CVO DCT HECA
Still active this issue. Flight over Spain, FBW-Simbridge start with 2 GB RAM ussage and after 30 minutes flight now at 15 GB and ascending with every minute +1 GB more.
I downloaded the latest version and started local server. Received CTD with this error. Don't know if anything is helpful.
Error: vips_tracked: out of memory --- size == 1MB
vips2png: unable to write to target target
Before this, it was regular
[FBW-SimBridge] info 12/27/2023, 9:19:13 PM [McduGateway] Client connected +0ms
Had this today with 17G usage on the current version.
CYYZ/05 N0441F380 BETES2 FOXEE DCT HVQ J85 SPA/N0438F390 DCT QUIWE/N0438F380 Q93 FISHO/N0441F390 Q93 GURGE/N0440F380 Q93 GIPPL Q85 LPERD SNFLD1 KMCO/17L
added logs, but nothing obvious on the logs.
using terrain on ND
I wrote a powershell script to relaunch it after 18G of ram, and there is less than 5G for RAM free, this seems to be working well for me. I have 32G system.
$procName = "fbw-simbridge"
$RAMLimit = 18GB
$FREELimit = 5GB
while ($true) {
$proc = Get-Process $procName -ea 0
if ($proc -ne $null) {
if ($proc.WorkingSet64 -gt $RAMLimit) {
$free = get-ciminstance Win32_OperatingSystem | % FreePhysicalMemory
if ($free*1024 -lt $FREELimit) {
Write-Host "killing fbw-simbridge larger than $RAMLimit and free mem less than $free*1024"
Stop-Process $proc -Force
Start-Process E:\FlightSim2020\Community\flybywire-externaltools-simbridge\fbw-simbridge.exe -ArgumentList "-hide"
}
}
}
Start-Sleep -s 30
}
I have been having problems with CTDs (on the A32nx, I have not flown anything else) and when looking at the Event Viewer I found this
Apperently i am running out of memory and Simbridge is using 18930782208 bytes aka ~18GB. That seems excessive
Using VMMap I got this:
It uses about 22GB of virtual memory. When stopping simbridge using the installer the process fbw-simbridge does not get killed, I had to kill it using the taskmanager. This freed the virtual memory.
@zaregg works fine for me since the update a few months ago. It was something "rerendering map and feeding memory". So hope you have your simbridge up to date.
@deiks Yea i have the latest update of simbridge and recently deleted my whole sim because of the constant CTDs. Which I know found out are being caused by too little free virtual memory, and that simbridge uses like 20gb of virtual memory
I find its related to enabling Terrain on ND, if you turn that off it lasts a while, but still have a script the kills it and relaunches it when grows to big. attached above.
Yes, if you see your memory goes to high, just turn off Terrain and wait it to calm down. So you don't have to kill process.
Btw. Did you try with clean install of simbridge?
Yes, if you see your memory goes to high, just turn off Terrain and wait it to calm down. So you don't have to kill process.
Btw. Did you try with clean install of simbridge?
Yea I clean installed my whole sim and the flybywire installer
