well try closing all open aplications, then go project preference
then dynamic ram preview setting max to 200 then go on vegas project media tab-
click lightinning bolt/remove all un used media
than save restart vegas.
open vegas then render the project
good luck