Autoloader 2022 GDI memory leak

Autoloader 2022 GDI memory leak

hans_martin_haga
Advocate Advocate
645 Views
3 Replies
Message 1 of 4

Autoloader 2022 GDI memory leak

hans_martin_haga
Advocate
Advocate

While using Autoloader to analyze and upload AutoCAD-files to Vault, the Autoloader would continuously crash after a few thousand files were scanned. It simply closed itself with no error messages. I enabled the extended logging of Autoloader, and found this in the error log

 

hansmartinhaga_0-1666793035573.png

 

After some Googling, I found that Autoloader seems to have a memory leak. It is exhausting the GDI resources of Windows, and finally crash as the GDI handles/objects go above 10.000. This is a limit in Windows. In the screenshot below, the GDI handles of Autoloader.exe is continually increasing and when it  exceeds 10.000, Autoloader is terminated.

 

hansmartinhaga_1-1666793211281.png

 

By increasing the limit in registry to maximum (0xffff/65535), the scan completes!

 

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Windows\GDIProcessHandleQuota

 

hansmartinhaga_2-1666793437443.png

 

Autodesk Vault Professional 2022 with 2022.3.2 update.

Running on Windows 10 physical workstation, through remote desktop (customer computer).

 

Any input?

 

 

 

 

646 Views
3 Replies
Replies (3)
Message 2 of 4

ihayesjr
Community Manager
Community Manager

How old are you AutoCAD files?

 

Vault Autoloader crashes when scanning AutoCAD drawing files | Vault Products | Autodesk Knowledge N...




Irvin Hayes Jr
Principal Product Manager
Autodesk, Inc.

Vault - Under the Hood Blog
0 Likes
Message 3 of 4

ihayesjr
Community Manager
Community Manager

You might want to try using AutoCAD's Check-in Folder options instead of Autoloader.




Irvin Hayes Jr
Principal Product Manager
Autodesk, Inc.

Vault - Under the Hood Blog
0 Likes
Message 4 of 4

hans_martin_haga
Advocate
Advocate

The files are AutoCAD 2000 / R15 and up. Converting them to a newer format is not an option, consuming too much time. Although autoloader has a lot of issues, it is the preferred tool as it gives a nice report on errors that need to be resolved by the customer prior to migration to Vault  - complete as an excel spreadsheet.

 

After working around the GDI issues, all the files are now successfully uploaded to Vault. It would be nice if the GDI error could be corrected.

0 Likes