VirtualBox

Opened 13 years ago

Closed 8 years ago

#8003 closed defect (obsolete)

Cryptic and confusing error message during vboxmanage modifyvm --guestmemoryballoon

Reported by: Scott Brickey Owned by:
Component: other Version: VirtualBox 3.2.10
Keywords: Cc:
Guest type: Windows Host type: Windows

Description (last modified by aeichner)

1) when setting guestmemoryballoon size, error messages are cryptic at best (I don't care about the DETAILS or CONTEXT) 2) when setting guestmemoryballoon size, maximum allowed value is rounded, causing confusion.


Step 1) try setting value of 2048MB

C:\Program Files\Oracle\VirtualBox>vboxmanage modifyvm "Domain Workstation" --guestmemoryballoon 2048 Oracle VM VirtualBox Command Line Management Interface Version 3.2.10 (C) 2005-2010 Oracle Corporation All rights reserved.

ERROR: Invalid memory balloon size: 2048 MB (must be in range [0, 1843] MB) Details: code E_INVALIDARG (0x80070057), component Machine, interface IMachine, callee IUnknown Context: "COMSETTER(MemoryBalloonSize)(ValueUnion.u32)" at line 1714 of file VBo xManageModifyVM.cpp

Ok, Step 2) try setting to stated maximum...

C:\Program Files\Oracle\VirtualBox>vboxmanage modifyvm "Domain Workstation" --guestmemoryballoon 1843 Oracle VM VirtualBox Command Line Management Interface Version 3.2.10 (C) 2005-2010 Oracle Corporation All rights reserved.

ERROR: Invalid memory balloon size: 1843 MB (must be in range [0, 1843] MB) Details: code E_INVALIDARG (0x80070057), component Machine, interface IMachine, callee IUnknown Context: "COMSETTER(MemoryBalloonSize)(ValueUnion.u32)" at line 1714 of file VBo xManageModifyVM.cpp

Ugh. Step 3) try setting just shy of stated maximum (assume rounding to be the cause)

C:\Program Files\Oracle\VirtualBox>vboxmanage modifyvm "Domain Workstation" --guestmemoryballoon 1842 Oracle VM VirtualBox Command Line Management Interface Version 3.2.10 (C) 2005-2010 Oracle Corporation All rights reserved.

C:\Program Files\Oracle\VirtualBox>

SUCCESS (finally)

PS: this feature (along with PageFusion) should be configurable within the UI... either by allowing multiple sliders in the memory page, or with another slider.

Change History (1)

comment:1 by aeichner, 8 years ago

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

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use