Allocate about 10GB of that ram to Sony Vegas, by default sony vegas only uses around 950MB of your RAM to render.
and that can slow things down dramatically, to allocate more go to Options, Preferences, Video and Change Dynamic RAM Preview MAX to 10GB or 10240MB.
if it's still bothering you...