Revit Slows down after large Dynamo script

I know it isn’t really a solution but if you disable your view extensions on dynamo, it stops crashing.