Since I started programming, I've been using my primary system for programming, which, in all honesty, I don't really feel comfy with. So, I've recently installed Oracle's VirtualBox. I plan to install Windows XP Professional with 512MB of memory. However, as I'm learning memory, I fear of memory leaks and corruptions, which are inevitable.
So, my question is as follows: Will a memory leak on the virtual machine affect the memory used on the primary OS( Windows 7 Ultimate )?
Note that I've chosen Windows XP so my applications are backwards compatible. I don't really know how to explain why I'm using Windows XP, but it's for a valid reason.
VirtualBox attempts to run as much guest code natively (that is, directly on the host processor) as possible. This works well for user-mode code running in the guest's ring 3 of the Intel ring architecture. However, the guest's ring 0 code, which usually contains many privileged instructions, needs to be intercepted.
direct from wikipedia, just completely ripped it off.
Looks like it's possible to have a problem. But I've had my virtualbox crash and my main system intact. I would bet you're safe. Then again, who knows? whhoooo knows.