VirtualBox

Opened 17 years ago

Closed 17 years ago

Last modified 14 years ago

#191 closed defect (fixed)

"out of memory" when there is plenty of free physical memory

Reported by: palomino Owned by:
Component: other Version: VirtualBox 1.3.6
Keywords: memory Cc:
Guest type: other Host type: other

Description (last modified by Sander van Leeuwen)

host os: windows 2000(2GB ram,about 1.5GB free)

guest os: windows xp(512MB),ubuntu(384MB),slackware(128MB)

I just ran one VM at the same time.but only slackware worked.other 2 VMs got error like this:

Failed to lock 536870912(402653184 for ubuntu) bytes of host memory (out of memory). VBox status code: -8 (VERR_NO_MEMORY).

Result Code: E_FAIL (0x80004005) Component: Console Interface: IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}

Change History (7)

comment:1 by Sander van Leeuwen, 17 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

The guest memory allocation strategy was changed in 1.3.8. Please try again and reopen the defect if you still have problems.

comment:2 by palomino, 17 years ago

Resolution: fixed
Status: closedreopened

unfortunately I got the same problem again under 1.3.8 :( I noticed that the problem appears only when my win2k had ran for a long time(usually 3 days to 1 week). It never happened when my host os newly restarted. And on my working pc(running ubuntu,shutdown everyday), virtualbox 1.3.6 & 1.3.8 never get such problem.

comment:3 by boredzo, 17 years ago

I have the same problem in version 1.3.99-beta1 on Mac OS X 10.4.9 on my two-by-two Mac Pro.

I have 5 GiB of total memory, with about 4400 MiB free. The guest OS is the Kubuntu 7.04 desktop CD. The VM is set for 32 MiB of VRAM, and I've tried its system memory at half-GiB and at 1 GiB; neither configuration works.

Failed to allocate 106496 bytes of contiguous memory for the VM structure!

.

VBox status code: -8 (VERR_NO_MEMORY).

Result Code: 0x80004005
Component: Console
Interface: IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}

comment:4 by Sander van Leeuwen, 17 years ago

Your memory has become very fragmented. We'll check if we can drop the requirement to allocate one meg of continuous physical memory in the future.

comment:5 by Frank Mehnert, 17 years ago

For the record: The guest memory allocation strategy of 1.3.8 is still the old one. The code for dynamic allocating 1MB chunks is still disabled for this version (PGM_DYNAMIC_RAM_ALLOC is disabled).

comment:6 by Sander van Leeuwen, 17 years ago

priority: majorcritical

comment:7 by Sander van Leeuwen, 17 years ago

Resolution: fixed
Status: reopenedclosed

Should be fixed in 1.5.0.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use