Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Memory Leak after latest SU 5 for several users.

Featured Replies

  • Author

True. But somewhere in most cases of this sort of thing, there may be something or other looping, going round and round and leaking away memory and performance. It has to be something.

I ran about 6 similar long timed tests last 3 days and every single time fps, gpu utilization, Watts, temperature went way way down slowly.

It did not go down even a tiny bit after over 2 hours this time. Utilization is still 100% (the test is still flying now). I saw it go down to 13% yesterday after a long time (flying straight ahead on auto pilot while I'm away doing something else in another room). (All the tests were run like that, straight flights on autopilot with no input from me).

FPS would start from 30, 35, or 40 fps and sink all they way to single digits every other time. All the way down to 4 or 5 fps in two hours.

5800X3D, RTX4070, 600 Watt, one or two 1440p 32" screens, 64 GB RAM, 4 TB  PCle 3 NVMe, Warthog throttle, VKB NXT EVO stick, Honeycomb Alpha yoke, CH quad, 3 Logitech panels, 2 StreamDecks, Desktop Aviator Trim Panel. Crystal Light VR.

 

  • Replies 48
  • Views 6.1k
  • Created
  • Last Reply
2 hours ago, Fielder said:

And I just tested for 35 minutes, fps when UP from 24 to 27, and gpu utilization stayed exactly at 100% the whole time, temp went up 80 to 81, and watts down 174 to 172, fan speed increased slightly. Stable, no more problem.

I think this was what is called a memory leak from bad programming (my bad programing in MSFS Controls).

I think you are using the term memory leak incorrectly.  You were seeing performance degradation, not a memory leak.  A memory leak would indeed consume your available memory until that process can be forced to be terminated and free the memory back up.  It would inevitably end up in the application crashing or worse taking down the OS and requiring a reboot..  

This is one of my big pet peeves because a memory leak in coding terms is big.  If Asobo had a true memory leak in their code chances are more than a dozen or so people would be impacted...   Performance degradation does not = memory leak and "bad controller programming" isn't a memory leak.  Sounds more like a USB issue.  I have 2 throttles, a Warthog, an iris yoke, MFG rudder pedals, a steering tiller, 3 opencockpit modules a G13 and a button box, so in addition to the same controller as you I have 10 other controllers connected with no issues. 

No memory leak I can see in the code.  What is your memory consumption?

Edited by psolk

Have a Wonderful Day

-Paul Solk

Boeing777_Banner_BetaTeam.jpg

  • Author

" What is your memory consumption? "

I don't know because Alt R does not tell me that in its window.

Semantics is of course important in order to understand what is being said. But semantics does not change the observed facts of degraded performance observed over time caused by something hogging resources.

I would now say, based on your message, that 'memory leak' is the wrong term to describe what was happening in my case.

5800X3D, RTX4070, 600 Watt, one or two 1440p 32" screens, 64 GB RAM, 4 TB  PCle 3 NVMe, Warthog throttle, VKB NXT EVO stick, Honeycomb Alpha yoke, CH quad, 3 Logitech panels, 2 StreamDecks, Desktop Aviator Trim Panel. Crystal Light VR.

 

10 minutes ago, Fielder said:

" What is your memory consumption? "

I don't know because Alt R does not tell me that in its window.

Semantics is of course important in order to understand what is being said. But semantics does not change the observed facts of degraded performance observed over time caused by something hogging resources.

I would now say, based on your message, that 'memory leak' is the wrong term to describe what was happening in my case.

This isn't semantics.  The entire thread was started based on the premise of a memory leak without ever looking at memory consumption.  From what I can see this also wasn't degraded performance by something hogging resources, what resources were being hogged?  You actually said your HW consumption was going down not up with degrading performance as your GPU was used less.  

So you've got degrading performance, GPU usage going down, haven't looked at memory consumption but started a thread that there is a memory leak in SU5 (only impacting certain users)  which is a big issue "if true."  I'm just saying, throwing out the term memory leak is actually a big big deal in coding and it's hurling a massive accusation against the code quality.  It's also usually monitored by memory consumption so to even speak about a memory leak without monitoring memory is impossible.   

Perhaps more accurate is "degrading performance over time, unsure as to cause"  

When I see memory leak I think fatal coding flaw.  

Have a Wonderful Day

-Paul Solk

Boeing777_Banner_BetaTeam.jpg

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.