Hammer compiling error (not responding)

this has been happening for a while now but when i start my hammer editor load my maps blah blah blah i get a compiling error it just says

Hammer editor not responding

when i start compiling then the hammer editor crashes.

Is there anything i can do about it?

i have tried re-installing it

deleted all sdk files and reinstall

deleteing through steam doesnt remove all files