Gmod Constantly crahses

Whenever I play on a server I get this error after I crash

This happens usually after about 30 minutes to an hour of playing.