VirtualBox

Ticket #191 (closed defect: fixed)

Opened 7 years ago

Last modified 4 years ago

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

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

Description (last modified by sandervl73) (diff)

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

comment:1 Changed 7 years ago by sandervl73

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)

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 Changed 7 years ago by palomino

  • Status changed from closed to reopened
  • Resolution fixed deleted

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 Changed 7 years ago by boredzo

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 Changed 7 years ago by sandervl73

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 Changed 7 years ago by frank

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 Changed 7 years ago by sandervl73

  • Priority changed from major to critical

comment:7 Changed 7 years ago by sandervl73

  • Status changed from reopened to closed
  • Resolution set to fixed

Should be fixed in 1.5.0.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use