Jobprocessor Delegate Host RAM usage, release of InventorObject

Jobprocessor Delegate Host RAM usage, release of InventorObject

jan.wagnerRB67Z
Enthusiast Enthusiast
620 Views
8 Replies
Message 3 of 9

Jobprocessor Delegate Host RAM usage, release of InventorObject

jan.wagnerRB67Z
Enthusiast
Enthusiast

Hi all,

 

In Vault Professional 2025 I created a custom job to modify properties using IExplorerUtil.
I noticed that after ~200 parts and assemblies updated, the RAM usage exceed 5GB. It seems that when executing many custom jobs in sequence, the InventorObecjt object of IJobProcessorServices is not released.

Is there an option to do this manually?

Vault API says that "This object should be initialized and released by framework. Extension developer doesn't need to take care of that." But apparently that seems not to be the case.

                ACET.IExplorerUtil explorerUtil = ACET.ExplorerLoader.LoadExplorerUtil(connection.Server, connection.Vault, connection.UserID, connection.Ticket);
                ACW.File vltFile = webServiceManager.DocumentService.GetLatestFileByMasterId(fileMasterId);
                explorerUtil.UpdateFileProperties(vltFile, properties);

 

I currently stop and restart the Jobprocessor.exe every five minutes to prevent it from crashing.

 

Many Thanks,

Jan

0 Likes
621 Views
8 Replies
Replies (8)
Message 1 of 9

jan.wagnerRB67Z
Enthusiast
Enthusiast

Hi all,

 

In Vault Professional 2025 I created a custom job to modify properties using IExplorerUtil.
I noticed that after ~200 parts and assemblies updated, the RAM usage exceed 5GB. It seems that when executing many custom jobs in sequence, the InventorObecjt object of IJobProcessorServices is not released.

Is there an option to do this manually?

Vault API says that "This object should be initialized and released by framework. Extension developer doesn't need to take care of that." But apparently that seems not to be the case.

                ACET.IExplorerUtil explorerUtil = ACET.ExplorerLoader.LoadExplorerUtil(connection.Server, connection.Vault, connection.UserID, connection.Ticket);
                ACW.File vltFile = webServiceManager.DocumentService.GetLatestFileByMasterId(fileMasterId);
                explorerUtil.UpdateFileProperties(vltFile, properties);

 

I currently stop and restart the Jobprocessor.exe every five minutes to prevent it from crashing.

 

Many Thanks,

Jan

0 Likes
Message 2 of 9

johannes.bauer
Autodesk Support
Autodesk Support

I suggest creating those posts in the Customization forum. Or create an ADN Case. Thanks



HTH
-Johannes

Customer Technical Success
0 Likes
Message 4 of 9

jan.wagnerRB67Z
Enthusiast
Enthusiast

Hey @johannes.bauer ,

i just did that. Feel free to delete this post.

 

Message 5 of 9

Markus.Koechl
Autodesk
Autodesk

Hi @jan.wagnerRB67Z, this is a known issue currently under investigation. However, the release of the InventorServerObject works in general. The issue relates to the use of IExplorerUtil, a wrapper that provides access to the Vault Client commands.



Markus Koechl

Solutions Engineer PDM, Autodesk Central Europe
0 Likes
Message 6 of 9

ihayesjr
Community Manager
Community Manager

You could try to changing the restart setting for the Job Processor.

Vault Help | Configure Job Processor Use Limits for CAD Services | Autodesk 




Irvin Hayes Jr
Principal Product Manager
Autodesk, Inc.

Vault - Under the Hood Blog
0 Likes
Message 7 of 9

jan.wagnerRB67Z
Enthusiast
Enthusiast

@ihayesjr 
We have them on 1/10 of the default value. Unfortunately they do not apply in this case.


0 Likes
Message 8 of 9

JelteDeJong
Mentor
Mentor

@Markus.Koechl 

If the IExplorerUtil is a wrapper. Can i then conclude that if we would use the standard api (not the wrapper) that it would solve the issue?

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com

0 Likes
Message 9 of 9

Markus.Koechl
Autodesk
Autodesk

Hi @JelteDeJong. Yes, following the theory. At least, you get options to debug in depth. I am about to provide coding samples and kindly ask for patience while I finalize validation.



Markus Koechl

Solutions Engineer PDM, Autodesk Central Europe