That's going to struggle running a VM, unless it is a low power Linux VM.
A Windows VM will want at least 4GB RAM. Leaving only 4GB for the host.
I have 32GB RAM, and sometimes run 3-4 VM's at once. Maybe 2x Linux and 2x Windows.
But an i3 with only 8GB RAM will struggle with just one VM.