Well, depends g how much work you need to do in host system (W10) but you are sentenced to one core for guest OS. 64bit windows need 2GB of RAM sou if your main job is done in guest system you can give it 4GB, less if host needs more.
Ubuntu and most other Linux distros will work OK on one core and 3 -4 GB of RAM.