AM 3.7 Possible Handle Leak
AM 3.7 Possible Handle Leak
I've been having an issue with P3D v5 where my fps would gradually go down and if I were to fly long enough I would get a crash of the GPU. At first I blamed V5 but decided to run some tests staring with no addons and no air manager. Everything seemed to be working fine as I added the addons one at a time. When I eventually started aire manager up every thing seemed fine too. After I while I noticed that the number of handles kept going up and never down. At one point they were up to more than 400k. When I exited AM the handles immediately dropped to about 68k and stayed there. So I started AM again and the number of handles started to go up and never down. At 200k I again exited AM and the number of handles dropped to around 68k. So it appears that AM has a handle leak and if so I hope it can be fixed quickly. AM is still very usable but eventually it will crash the gpu or the sim.
Re: AM 3.7 Possible Handle Leak
Hi,
Hmz, that would be very bad.
What do you mean with handle exactly. This is mostly not GPU related, but instead can be file or socket handles.
In what tool do you measure the handles?
It might be instrument specific also, would you mind checking with different panels/instruments?
Corjan
Hmz, that would be very bad.
What do you mean with handle exactly. This is mostly not GPU related, but instead can be file or socket handles.
In what tool do you measure the handles?
It might be instrument specific also, would you mind checking with different panels/instruments?
Corjan
Re: AM 3.7 Possible Handle Leak
Handles are what's displayed as a part of the performance tab in task manager. I use two panels for the particular aircraft and have attached a couple of screen captures below.
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: AM 3.7 Possible Handle Leak
oops
Keith
Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board, 32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card
Re: AM 3.7 Possible Handle Leak
Hi,
Please have a look at how many handles the AM process itself has: If that number increases, something is wrong.
Note that the number of handles has nothing to do with the GPU.
Corjan
Please have a look at how many handles the AM process itself has: If that number increases, something is wrong.
Note that the number of handles has nothing to do with the GPU.
Corjan
Re: AM 3.7 Possible Handle Leak
So I ran a short test flight and here's what happened. The handles immediately start to climb and went over 100k in about 20 minutes. After that I started to remove one instrument at a time and the trend didn't change, they kept going up. It wasn't until I stopped displaying 1 of the panels that the number of handles dropped. Once they dropped they started to go up again as I was still displaying the 2nd panel. So on the remaining panel are started removing instruments one at a time and again no change to the trend. It was only when I closed the remaining panel did the numbers go down and remained steady at less than 1k. I kept AM open with no panels displayed and no changes to the number of handles. Hope this helps.
Start of flight. AM handles are already higher than P3D
20 minutes into the flight and they've gone over 100k
Start of flight. AM handles are already higher than P3D
20 minutes into the flight and they've gone over 100k
Re: AM 3.7 Possible Handle Leak
Ai, that is no good.
Would you mind checking it there is any hint in the log file:
C:\Users\%user_name%\Air Manager\log.txt
Corjan
Would you mind checking it there is any hint in the log file:
C:\Users\%user_name%\Air Manager\log.txt
Corjan
Re: AM 3.7 Possible Handle Leak
Hi,
If you want to help me out and dive a bit deeper, would you mind installing Process Explorer and looking at what kind of handles are leaking:
Download Process Explorer here:
https://docs.microsoft.com/en-us/sysint ... s-explorer
Handle list looks like this:
Corjan
If you want to help me out and dive a bit deeper, would you mind installing Process Explorer and looking at what kind of handles are leaking:
Download Process Explorer here:
https://docs.microsoft.com/en-us/sysint ... s-explorer
Handle list looks like this:
Corjan
Re: AM 3.7 Possible Handle Leak
Here's what I found in the log file, see below. Not sure what these error messages mean as all of the instruments that I've placed in the panel display and work. Unfortunately I'm not going to be able to do anymore testing for a couple of weeks due to being out of town for work. If that wasn't the case I would certainly help more. I looked in one particular directory and it existed but it was empty except for a thumbs.db file. 2020-06-26 08:00:46 ERROR Library - Failed to load instrument from 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/da340c42-9583-4d63-ad26-e4de78729450.
2020-06-26 08:00:44 INFO EntityManager - Starting Air Manager Home Use 3.7 (Home Use, Activated) (JAVA=1.8.0_181-1-ojdkbuild)
2020-06-26 08:00:44 INFO AMBase - Initializing
2020-06-26 08:00:44 INFO AMBase - HW id = 63ca018d642073dd9129aedde41caf38
2020-06-26 08:00:45 ERROR SiFile - Failed to open path 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/2c6c2d83-f3ab-435c-aa5a-73632f989a71/info.xml' (No such file or directory)
2020-06-26 08:00:45 ERROR Library - Failed to load instrument from 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/2c6c2d83-f3ab-435c-aa5a-73632f989a71'
2020-06-26 08:00:45 ERROR SiFile - Failed to open path 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/3969afce-3761-407d-a220-12560b8f0ca0/info.xml' (No such file or directory)
2020-06-26 08:00:45 ERROR Library - Failed to load instrument from 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/3969afce-3761-407d-a220-12560b8f0ca0'
2020-06-26 08:00:45 ERROR SiFile - Failed to open path 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/4005dadf-9d35-476a-9acb-aef1731bdcfd/info.xml' (No such file or directory)
2020-06-26 08:00:45 ERROR Library - Failed to load instrument from 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/4005dadf-9d35-476a-9acb-aef1731bdcfd'
2020-06-26 08:00:45 ERROR SiFile - Failed to open path 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/5e7b7bee-4c29-4080-bfce-13a207c7b9e3/info.xml' (No such file or directory)
2020-06-26 08:00:45 ERROR Library - Failed to load instrument from 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/5e7b7bee-4c29-4080-bfce-13a207c7b9e3'
2020-06-26 08:00:45 ERROR SiFile - Failed to open path 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/823483c7-1c7c-4e02-8d9c-d24393ec177f/info.xml' (No such file or directory)
2020-06-26 08:00:45 ERROR Library - Failed to load instrument from 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/823483c7-1c7c-4e02-8d9c-d24393ec177f'
2020-06-26 08:00:46 ERROR SiFile - Failed to open path 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/d4952ecc-ffca-40d1-8b08-40d22854ca81/info.xml' (No such file or directory)
2020-06-26 08:00:46 ERROR Library - Failed to load instrument from 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/d4952ecc-ffca-40d1-8b08-40d22854ca81'
2020-06-26 08:00:46 ERROR SiFile - Failed to open path 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/da340c42-9583-4d63-ad26-e4de78729450/info.xml' (No such file or directory)
2020-06-26 08:00:46 ERROR Library - Failed to load instrument from 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/da340c42-9583-4d63-ad26-e4de78729450'
2020-06-26 08:00:48 INFO SimBusConnectionHandler - Discovered Prepar3D on 192.168.86.44:55559 (am_port=55558)
2020-06-26 08:00:48 INFO Project - Aircraft changed from '(null)' to 'RealAir Beech Duke Turbine V2 DNSYR'
2020-06-26 08:00:50 INFO SiRunner - Generic - Bendix/King KI525A HSI: logic.lua:249: Failed to bind hardware id's to connected hardware
2020-06-26 08:00:50 INFO SiRunner - Generic - Bendix/King KI525A HSI: logic.lua:251: Failed to bind hardware id's to connected hardware
2020-06-26 08:02:39 INFO Project - Aircraft changed from 'RealAir Beech Duke Turbine V2 DNSYR' to 'AC11 Commander 114 - Orange'
2020-06-26 08:02:39 INFO SiRunner - Generic - Bendix/King KI525A HSI: logic.lua:249: Failed to bind hardware id's to connected hardware
2020-06-26 08:02:39 INFO SiRunner - Generic - Bendix/King KI525A HSI: logic.lua:251: Failed to bind hardware id's to connected hardware
2020-06-26 08:26:21 INFO SiRunner - Generic - Bendix/King KI525A HSI: logic.lua:249: Failed to bind hardware id's to connected hardware
2020-06-26 08:26:21 INFO SiRunner - Generic - Bendix/King KI525A HSI: logic.lua:251: Failed to bind hardware id's to connected hardware
2020-06-26 08:28:26 INFO SiRunner - Generic - Bendix/King KI525A HSI: logic.lua:249: Failed to bind hardware id's to connected hardware
2020-06-26 08:28:26 INFO SiRunner - Generic - Bendix/King KI525A HSI: logic.lua:251: Failed to bind hardware id's to connected hardware
2020-06-26 08:00:44 INFO EntityManager - Starting Air Manager Home Use 3.7 (Home Use, Activated) (JAVA=1.8.0_181-1-ojdkbuild)
2020-06-26 08:00:44 INFO AMBase - Initializing
2020-06-26 08:00:44 INFO AMBase - HW id = 63ca018d642073dd9129aedde41caf38
2020-06-26 08:00:45 ERROR SiFile - Failed to open path 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/2c6c2d83-f3ab-435c-aa5a-73632f989a71/info.xml' (No such file or directory)
2020-06-26 08:00:45 ERROR Library - Failed to load instrument from 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/2c6c2d83-f3ab-435c-aa5a-73632f989a71'
2020-06-26 08:00:45 ERROR SiFile - Failed to open path 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/3969afce-3761-407d-a220-12560b8f0ca0/info.xml' (No such file or directory)
2020-06-26 08:00:45 ERROR Library - Failed to load instrument from 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/3969afce-3761-407d-a220-12560b8f0ca0'
2020-06-26 08:00:45 ERROR SiFile - Failed to open path 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/4005dadf-9d35-476a-9acb-aef1731bdcfd/info.xml' (No such file or directory)
2020-06-26 08:00:45 ERROR Library - Failed to load instrument from 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/4005dadf-9d35-476a-9acb-aef1731bdcfd'
2020-06-26 08:00:45 ERROR SiFile - Failed to open path 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/5e7b7bee-4c29-4080-bfce-13a207c7b9e3/info.xml' (No such file or directory)
2020-06-26 08:00:45 ERROR Library - Failed to load instrument from 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/5e7b7bee-4c29-4080-bfce-13a207c7b9e3'
2020-06-26 08:00:45 ERROR SiFile - Failed to open path 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/823483c7-1c7c-4e02-8d9c-d24393ec177f/info.xml' (No such file or directory)
2020-06-26 08:00:45 ERROR Library - Failed to load instrument from 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/823483c7-1c7c-4e02-8d9c-d24393ec177f'
2020-06-26 08:00:46 ERROR SiFile - Failed to open path 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/d4952ecc-ffca-40d1-8b08-40d22854ca81/info.xml' (No such file or directory)
2020-06-26 08:00:46 ERROR Library - Failed to load instrument from 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/d4952ecc-ffca-40d1-8b08-40d22854ca81'
2020-06-26 08:00:46 ERROR SiFile - Failed to open path 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/da340c42-9583-4d63-ad26-e4de78729450/info.xml' (No such file or directory)
2020-06-26 08:00:46 ERROR Library - Failed to load instrument from 'C:\Users\Mark/Air Manager/instruments/OPEN_DIRECTORY/da340c42-9583-4d63-ad26-e4de78729450'
2020-06-26 08:00:48 INFO SimBusConnectionHandler - Discovered Prepar3D on 192.168.86.44:55559 (am_port=55558)
2020-06-26 08:00:48 INFO Project - Aircraft changed from '(null)' to 'RealAir Beech Duke Turbine V2 DNSYR'
2020-06-26 08:00:50 INFO SiRunner - Generic - Bendix/King KI525A HSI: logic.lua:249: Failed to bind hardware id's to connected hardware
2020-06-26 08:00:50 INFO SiRunner - Generic - Bendix/King KI525A HSI: logic.lua:251: Failed to bind hardware id's to connected hardware
2020-06-26 08:02:39 INFO Project - Aircraft changed from 'RealAir Beech Duke Turbine V2 DNSYR' to 'AC11 Commander 114 - Orange'
2020-06-26 08:02:39 INFO SiRunner - Generic - Bendix/King KI525A HSI: logic.lua:249: Failed to bind hardware id's to connected hardware
2020-06-26 08:02:39 INFO SiRunner - Generic - Bendix/King KI525A HSI: logic.lua:251: Failed to bind hardware id's to connected hardware
2020-06-26 08:26:21 INFO SiRunner - Generic - Bendix/King KI525A HSI: logic.lua:249: Failed to bind hardware id's to connected hardware
2020-06-26 08:26:21 INFO SiRunner - Generic - Bendix/King KI525A HSI: logic.lua:251: Failed to bind hardware id's to connected hardware
2020-06-26 08:28:26 INFO SiRunner - Generic - Bendix/King KI525A HSI: logic.lua:249: Failed to bind hardware id's to connected hardware
2020-06-26 08:28:26 INFO SiRunner - Generic - Bendix/King KI525A HSI: logic.lua:251: Failed to bind hardware id's to connected hardware