Servers are designed to operate under full load 24/7.
If you did that with a desktop PC, don't expect it to last very long.
Sometimes they can be more expensive, but for what you're looking for (lots of ram, lots of cores) a server might be in the same price range.
ninja pre-post edit:
If...