VirtualBox

Opened 17 years ago

Closed 14 years ago

#783 closed defect (fixed)

VirtualBox hogs memry when copying files -> fixed in SVN

Reported by: adamklobukowski Owned by:
Component: other Version: VirtualBox 1.5.0
Keywords: memory leask shared folders Cc:
Guest type: other Host type: other

Description

I'm trying to copy lots of small files (25000+ files, total size about 1GB) using Shared Folder with Linux as host and Windows XP as guest. I've set VM to have 512MB of RAM, and at the beginning, VirtualBox does not use much more. But after about 20% of files is copied, it starts to eat a lot of ram (it was 1.2GB when I stopped it), finally eating all available RAM.

Looks like there is a serious memory leak in shared folders code.

Attachments (2)

VBox (copia).log.3 (73.0 KB ) - added by donaldshimoda 14 years ago.
Version 3.2.2 log with problems
VBox.log (80.8 KB ) - added by donaldshimoda 14 years ago.
Version 3.1.18 , same machine, working as expected

Download all attachments as: .zip

Change History (14)

comment:1 by Sander van Leeuwen, 17 years ago

comment:2 by Sander van Leeuwen, 17 years ago

Reporter: changed from adamklobukowski@… to adamklobukowski

in reply to:  description comment:3 by Alex, 16 years ago

Replying to adamklobukowski:

Looks like there is a serious memory leak in shared folders code.

If I understand correctly you have problem with version 1.5.0. Could you try VirtualBox and additions version 1.5.2?

comment:4 by Sander van Leeuwen, 16 years ago

Summary: VirtualBox hogs memry when copying filesVirtualBox hogs memry when copying files -> fixed in SVN

comment:5 by Frank Mehnert, 16 years ago

Resolution: fixed
Status: newclosed

comment:6 by donaldshimoda, 14 years ago

Resolution: fixed
Status: closedreopened

Seems like this bug is here AGAIN version 3.2.2. Im compiling over a shared folder, the memory start growing up.

Im using a ubuntu 10.04 64 bits HOST 4GB RAM, and a XP 32 bits SP3 guest 1 GB RAM VM.

At start it only takes 33% of HOST SYSTEM MEMORY. When i compile a application inside my VM using a lot SHARED FOLDER, the memory grow in chunks of 10% , and end eating all my HOST SYSTEM MEMORY. If i suspend the VM after it get 100% of HOST memory, and restart, it use again only 33% of the memory.

I will downgrade rigth now to 3.1.x because it dont have this memory leak.

comment:7 by Frank Mehnert, 14 years ago

Please attach a VBox.log file of such a VM session.

in reply to:  7 comment:8 by donaldshimoda, 14 years ago

Replying to frank:

Please attach a VBox.log file of such a VM session.

I already downgrade to version 3.1.18, and the problem gone. My memory stay at 33% of host mempry, dont matter how much i use shared networks.

by donaldshimoda, 14 years ago

Attachment: VBox (copia).log.3 added

Version 3.2.2 log with problems

by donaldshimoda, 14 years ago

Attachment: VBox.log added

Version 3.1.18 , same machine, working as expected

comment:9 by donaldshimoda, 14 years ago

I mean version 3.1.8 , sorry.

comment:10 by Frank Mehnert, 14 years ago

Currently I'm not that sure that this problem results from the extensive usage of shared folders as I'm not aware of a related change in the moment (I might be wrong of course). Are you sure that this leak couldn't be the result of something else, for instance some guest 2D operations which are performed in parallel to your compile job? Sorry for asking this, but currently we are trying to reproduce this issue somehow.

comment:11 by donaldshimoda, 14 years ago

Actually i dont know the exact cause, I just reporting my impresions. OTOH, there no another thing than Delphi 2010 IDE running and compiling. That cause the memory grow, as the compile is on shared folders i suspected was related.

comment:12 by Frank Mehnert, 14 years ago

Resolution: fixed
Status: reopenedclosed

Please reopen if this problem is still present with VBox 3.2.6 (don't forget to update the guest additions as well). We think we fixed related memory leaks.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use