If given an option, you can set up part of the RAM dedicated to the integrated graphics. However, make sure you don't dedicate a lot of them. As per the current scenario, you need at least 8 GB of RAM. If you have 8 GB, set up 1 GB of dedicated RAM; if you have 16GB, you can set up 4GB of RAM.