Just a quick question regarding adding and removing guest OS

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Kyuubi
Posts: 3
Joined: 30. Sep 2008, 01:23

Just a quick question regarding adding and removing guest OS

Post by Kyuubi »

I've search around and I believe I found my answer already but I like to \go on the side of caution and ask anyways because I'm new to this software. I read in one thread that I can delete the vdi file with the guest OS and I could recover th space that was taken up, and I wanted to ask if this was as well workable when it came to removing the guest OS??

In other words say I run linux on a vista host, and I want to remove linux, I could simply delete the vdi file correct?

ETA (EDIT): I also noticed that when I removed a virtual machine the free space on my hard drive was reduced significantly from 298 gb free (after making a fixed drive) to 285 GB after I deleted the Guest OS file. Would this be the memory leak issue I've been reading about?
luvit
Posts: 20
Joined: 23. Sep 2008, 22:01

Post by luvit »

that is the correct way to delete a guest VM

the memory leak is something else. it keeps claiming memory, but does not release it back to the host... over a short period of time everything moves to a crawl because there is eventually no memory left that should have been reclaimed.

before i fixed the memory leak i had issues to where i just had to power off the host and reboot several times before i searched for a memory leak patch on this board.
XP Pro Host 2gb/40gb
XP Pro Guest 664mb/6gb
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Post by mpack »

luvit wrote: the memory leak is something else. it keeps claiming memory, but does not release it back to the host...
I think the OP was referring to disk space, not RAM use, so I don't think the memory leak bug is the issue here.

I'd suggest emptying the recycle bin?
Kyuubi
Posts: 3
Joined: 30. Sep 2008, 01:23

Post by Kyuubi »

mpack wrote:
luvit wrote: the memory leak is something else. it keeps claiming memory, but does not release it back to the host...
I think the OP was referring to disk space, not RAM use, so I don't think the memory leak bug is the issue here.

I'd suggest emptying the recycle bin?
I've deleted a lot of stuff regained some space on the hard drive but not the 10gb I dedicated to the guest OS file, when I used Ccleaner to permanently delete it from the recycle bin it seemed to make it worse, I lost about 15 GB rather than gained 10 back, and I'm stumped as to how it happened :s

I'm not sure if that issue is separate or linked to the virtual box, if it was separate then I only noticed it now...
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

You can try the Disk Cleanup tool found in Accessories of the Start Menu. After you ran that, defrag your hard drive and see if you gained any space. Hard disk space should not be taken after you remove some files.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Kyuubi
Posts: 3
Joined: 30. Sep 2008, 01:23

Post by Kyuubi »

Well I ran chkdsk and it froze this morning turned off the computer and it complained about corrupted files and then I ran chkdsk yet again, started backing up files (copying) and suddenly my HDD space jumped from 301 GB to 370... :shock: And it stopped complaining about the file corruption....

For the record most of the files I started backing up were on a separate partition, which did not have these issues, the main C:/ drive had over 150 GB taken by "something" but the files I were backing were not part of it.



I-I-I just don't know what the hell to say about it, but apparently it's got little to do with virtualbox, if anything I noticed the problem when I used it.... So I apologize for bringing that up as one of the issues I had. I'm thankful I didn't immediately blame the software for it. Thank you guys for answering my main question regarding the removal of the virtual machine. I appreciate it.
Post Reply