Don't buy a PC with 4GB of memory! Choose a PC with at least 8GB or more!
Memory is one of the most important parts when choosing a PC, whether for work or gaming. Regarding memory, this is my personal opinion, but I feel that at least 8GB of memory is required for work, and 16GB or more for gaming. In this article, that's about it...