If your scene needs more ram than you have, it will greatly slow it down. If you have more ram than the scene needs to render, it won't help a bit.