Virtualbox freezing with Hortonworks sandbox

Discussions related to using VirtualBox on Windows hosts.
Post Reply
lazyninja
Posts: 2
Joined: 4. Nov 2015, 16:17

Virtualbox freezing with Hortonworks sandbox

Post by lazyninja »

Hi,
First time Virtualbox user, first time poster.
I'm trying to run the Hortonworks Hadoop sandbox on Windows 7 using VirtualBox but it keeps freezing on me.
The first few times I simply got a small window entitled "VirtualBox - Warning (Not Responding)" but with nothing inside the window. The computer then completely froze and I had to manually shut down.
Now I am first getting and error window stating that it is "unable to allocate and lock memory" and that I should "close applications to free up memory". I really don't think this should be a problem. I have nothing else open and me laptop should meet the specs.
When I close this window it continues for a bit until I get a "Guru Mediation" window which states that a critical error has occurred and the machine execution has stopped. Two of the small "VirtualBox - Warning (Not Responding)" windows also open but the machine freezes and the details cannot be seen. Again, I have to manually shut down.

I am using Virtualbox version 5.0.8 r103449 and running Hortonworks Sandbox with HDP 2.2.4.2.
My laptop is a Lenovo t510 with 4 GB ram and an Intel Core i5 CPU (2.4 GHz), running windows 7.

Any help would be greatly appreciated. I've been trying to get Hadoop to work on my laptop for almost a week now and nothing is working.
Attachments
VBox.png
VBox.png (11.54 KiB) Viewed 2431 times
VBox.log
(83.3 KiB) Downloaded 18 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Virtualbox freezing with Hortonworks sandbox

Post by Perryg »

00:00:01.905712 Host RAM: 3891MB total, 1797MB available
00:00:02.671853 RamSize <integer> = 0x0000000100000000 (4 294 967 296, 4 GB)

00:07:14.144933 VM: Raising runtime error 'HostMemoryLow' (fFlags=0x2)

Memory over committed.
lazyninja
Posts: 2
Joined: 4. Nov 2015, 16:17

Re: Virtualbox freezing with Hortonworks sandbox

Post by lazyninja »

Thanks for the quick reply.
So I have enough RAM but for some reason its not available... I don't suppose you know why or how I could find out, do you?
I'm guessing I have a lot of the memory is being used for cached processes right? Is there some way to turn them all off?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Virtualbox freezing with Hortonworks sandbox

Post by scottgus1 »

Your guest appears to be set to 4GB or 4096MB, and your host has 3891MB before the host OS takes anything. Modern OSs seem to take a couple GB just sitting there. So you really have only less than 2GB available for your guest, 1797MB at the time the log was taken. You should probably use only 1500MB for a guest on your PC.
Post Reply