VirtualBox

16 年 前 建立

16 年 前 結束

15 年 前 更新

#2548 closed defect (fixed)

Saved state is discarded after VERR_NO_MEMORY

回報者: Konstantin Vlasov 負責人:
元件: other 版本: VirtualBox 2.0.4
關鍵字: 副本:
Guest type: other Host type: Windows

描述

Host OS: WinXP SP3 Guest OS: any

I tried to load a VM which was in saved state, but there was not enough memory on my host machine (many programs loaded), so I got VERR_NO_MEMORY. After that the saved state of this VM silently disappeared: in VB Manager it was shown in "Powered Off" state, and when I tried to open it again, it started loading from scratch, as if I discarded the saved state (which of course I did not). Log file of this VM is attached.

附加檔案 (3)

VBox.log (36.4 KB ) - 16 年 前, 由 Konstantin Vlasov 新增
Log file of the VM
debian-2008-11-27-17-20-59.log (43.1 KB ) - 16 年 前, 由 bulat 新增
before raising memory
debian-2008-11-27-17-23-09.log (43.0 KB ) - 16 年 前, 由 bulat 新增
after.. system discard all changes

下載所有附檔: .zip

更動歷史 (6)

16 年 前Konstantin Vlasov 編輯

附檔: 新增 VBox.log

Log file of the VM

comment:1 16 年 前bulat 編輯

i have the same here. i've raised memory used by my VM and it discard all my data and changes.

16 年 前bulat 編輯

before raising memory

16 年 前bulat 編輯

after.. system discard all changes

comment:2 16 年 前Martin 編輯

I'm from #2611 I've got 1GB of host memory in Windows, I think 384MB of RAM in my Guest OS.

I really don't get why Windows would give you an error: at that moment my swapfile was barely used, so it should've just swapped bits of Eclipse/Firefox/Outlook/whatever away. Another indication might be that I closed outlook (200MB), started my virtual machine, and started outlook (again 200MB after loading), and then everything works fine. Maybe you use a different API to register memory, one that's guaranteed to be semi-realtime (which wouldn't give Windows the time to swap applications away). I can imagine that that's a good thing while running the virtual machine, but not while loading the virtual machine.

However, the real problem here is not that the out-of-memory-error appears, it is that the state of the machine is discarded. Can't you just ask if the user would like to try again later, after freeing memory? If it happens while the virtual machine isn't running, that's almost what happens: the machine is paused, and after closing Outlook/Eclipse/Firefox I can start it up again.

comment:3 16 年 前Sander van Leeuwen 編輯

狀態: newclosed
處理結果: fixed

Fixed in 2.1. An out of memory error could always occur, but your saved state will be kept around.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

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