VirtualBox

Changeset 1099 in vbox


Ignore:
Timestamp:
Feb 28, 2007 11:09:28 AM (18 years ago)
Author:
vboxsync
Message:

Out of memory in dynamic guest ram alloc: Pause first, then inform Main.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMPhys.cpp

    r877 r1099  
    390390
    391391        LogRel(("pgmr3PhysGrowRange: out of memory. pause until the user resumes execution.\n"));
    392         VMSetRuntimeError(pVM, false, "HostMemoryLow", "Unable to allocate and lock memory. The virtual machine will be paused. Please close applications to free up memory or close the VM.");
    393  
     392
     393        /* Pause first, then inform Main. */
    394394        rc = VMR3SuspendNoSave(pVM);
    395395        AssertRC(rc);
     396
     397        VMSetRuntimeError(pVM, false, "HostMemoryLow", "Unable to allocate and lock memory. The virtual machine will be paused. Please close applications to free up memory or close the VM.");
    396398
    397399        /* Wait for resume event; will only return in that case. If the VM is stopped, the EMT thread will be destroyed. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette