Changing the virtual box settings-
Step 1-Power down the virtual box
The settings will not be editable when the machine is running
Step 2- Click Settings while selecting the corresponding virtual box vm
Step 3- Click System
Under the motherboard tab - adjust the memory for the device. By default, 2 gigs are allocated. You may increase that as needed or available.
Step 4- Find the Processor tab. Adjust to needed amount.
Step 5- Click Ok. Turn back on virtual box machine