Running a Single Bot in VirtualBox has Cost me 10GB of Memory How is this Possible???

Joined
Dec 6, 2006
Messages
409
Reaction score
3
Points
18
i have a mac & ive been running a single bot in virtual box for past couple of days, everything seemed to be fine until today when the bot stopped on its own due to limited memory space on the virtual disc.

when i first created the virtual disc i gave it 10 gb of memory. it has used up about 9.75gb of memory in past couple of days.

anybody have any clue as to why this is happening? the bot itself is only 2mb..
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,745
Reaction score
2,071
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
You mean disk space, not memory. Quite a big difference, anyway. What OS (if any) are you running in VirtualBox? What is this bot? A program or something else?

Please provide more information..
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
VBox VMs expand but they don't shrink if you are using a dynamic drive. So, if at some point you had used up a lot of virtual disk space, the VM would have expanded to meet that but will not have shrunk when the data was collected.

Here's an example: let's say you have a 10GB disk. After the OS install, you've used up 3GB and so, your HD is 3GB. After installing 5GB worth of apps, your HD grows to 8GB. At some point though, you uninstall the 5GB worth of apps. After doing so though, the HD doesn't shrink and remains 8GB.

You can compress the drives but it requires that you go to the command line and the process differs for each guest OS. In either case, it involves zeroing the free space and then using the VBoxManage tool to compress it.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top