So I am doing renders of SolidWorks models in Blender. The models themselves do not pose a problem for me, however I have noticed that when the materials tab, to be precise the list of materials is opened Blender slows down almost to a stop until I reload the current .blend file.
This is from one of the models I have already setup and rendered. In the actual model I've cleaned up all those materials and setup my own which number 15-20. In spite of this these materials still remain in my file and slow down my work.
I have tried using the delete addon I've seen in some answers to this question but that only leads to Blender crashing. Manually removing them with the "Minus" is out of the question, I've done it before for single instances. Having 3-4 models with 5000-6000 materials is not timewise efficient.
Some extra info how I've setup the materials - ctrl+L Making material links to objects having the same material type.