Created
October 28, 2022 15:07
-
-
Save ghotz/64a42f564cb46e446804dde4bea2748b to your computer and use it in GitHub Desktop.
SQLCLR troubleshooting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select left(appdomain_name, 19) as appdomain_name, [state] | |
, sum(total_allocated_memory_kb) / 1024. AS total_allocated_memory_MB | |
, sum(survived_memory_kb) / 1024. as survived_memory_MB | |
from sys.dm_clr_appdomains | |
group by left(appdomain_name, 19), [state] | |
--select * from sys.dm_clr_properties | |
--select * from sys.dm_clr_appdomains | |
--select * from sys.dm_clr_loaded_assemblies | |
--select * from sys.dm_clr_tasks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment