lundi 18 février 2019

Clearing the runtimeTypeCache

I currently have a c# application where just under half the heap memory usage is used by the RuntimeTypeCache+Runtime.

There is a certain point in the application where no reflection calls are made since all the code has been compiled by the application. After this, I clear our own internal caches.

However, the System.RuntimeTypeCache is still using a considerable amount of memory, which I would like to also clear.

Does anyone know of a way to do this?





Aucun commentaire:

Enregistrer un commentaire