Multiple tasks can share the CPU and just get a bit slower. But if you are out of RAM, you are better off running one thing after another.
Whether you hit swap or OOM was a distraction.