Hello, Samir. For the real exam, we normally run this on instances with 30GB RAM.
I would not recommend anything lower than 16GB RAM. Even our downloadable sandbox recommends 16GB nowadays.
You can use your instance then stop it (but not terminate) to avoid extra charges.
Hope that this helps.