_PaiDo you and your friend run mastercomfig/another extensive config? My friend and I don't have 4gb ram, but we both had mastercomfig and we noticed after every death that lagged, our configs were reexecuting, sometimes twice in a row. Since my friend with a weaker computer was lagging far more than me, maybe its something that reloads the config and the lag is from resetting all the graphics settings?
The configs would re-execute as a result of the lag/freezing, maybe make it slightly worse. But would not be the root cause. All it does is reload your class configs, because it thinks you just respawned, because of the lag.