Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner

Memory leak when copying large numbers of files

microsoft.public.windows.vista.file management






Speedup My PC
Reply
  #1 (permalink)  
Old 09-27-2007
mister.jones
 

Posts: n/a
Memory leak when copying large numbers of files
Hello!
When trying to copy large numbers of files (>500,000), Vista stops after
~300,000 and complains:
"There is not enough free memory."
The size of the explorer.exe process keeps growing during copying (>500 MB)
, but there should still be enough RAM (2GB).
To me, this looks like a memory leak.
I already tried hotfix KB942435, which seems to relate to a similar, but not
identical error message ("There is not enough memory to complete this
operation.")
Anyone knows another fix for this? Or how can I have this bug fixed?
Thanks
mister.jones


Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-28-2007
Adams Qu [MSFT]
 

Posts: n/a
RE: Memory leak when copying large numbers of files
Dear Jones,

Thank you for posting here.

After conducting a lot of research as well as confirming with the
Development team member, we found that this is a known issue in Windows
Vista which has been filed and are also currently being investigated.

Considering the current status, we can first take the following steps to
see if it is helpful

1. Install the latest Updates
--------------------------------
Please download and install the update KB938979 from the following KB
article:

An update is available that improves the performance and reliability of
Windows Vista
http://support.microsoft.com/default...b;EN-US;938979

2. Clean boot the Vista machine
--------------------------------
1. Click the Start Button type "msconfig" (without quotation marks) in the
Start Search box, and then press Enter.

Note: If prompted, please click Continue on the User Account Control (UAC)
window.

2. Click the "Services" tab, check the "Hide All Microsoft Services" box
and click "Disable All" (if it is not gray).
3. Click the "Startup" tab, click "Disable All" and click "OK".

Then, restart the computer. When the "System Configuration Utility" window
appears, please check the "Don't show this message or launch the System
Configuration Utility when Windows starts" box and click OK.

Please test this issue in the Clean Boot environment. If the issue still
persists, we can try to use the XCOPY command to the issue again:

3. Use the XCOPY command to copy the files
--------------------------------
1. Click Start, type: CMD and then right click on the CMD in the list and
then select Run as Administrator.
2. In the command prompt, please run the following command and then press
Enter to copy the files

XCOPY <source> <destination>

If we are able to copy the files successfully via the XCOPY command, I
suggest we temporarily use this method as a workaround until the real fix
is released. Thank you for your understanding and cooperation. If anything
is unclear in my post, please don't hesitate to let me know.

Have a nice day!

Best regards,

Adams Qu
MCSE, MCDBA, MCTS
Microsoft Online Support

Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
================================================== ===
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================== ===
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: "mister.jones" <mister.jones@noemail.noemail>
| Subject: Memory leak when copying large numbers of files
| Date: Thu, 27 Sep 2007 17:27:06 +0200
| Lines: 15
| Message-ID: <52F8DAC8-1111-4730-BA48-FCCEC08ACA4A@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| format=flowed;
| charset="iso-8859-1";
| reply-type=original
| Content-Transfer-Encoding: 7bit
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
| X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16480
| X-MS-CommunityGroup-MessageCategory:
{E4FCE0A9-75B4-4168-BFF9-16C22D8747EC}
| X-MS-CommunityGroup-PostID: {52F8DAC8-1111-4730-BA48-FCCEC08ACA4A}
| Newsgroups: microsoft.public.windows.vista.file_management
| NNTP-Posting-Host: 213.219.152.117.adsl.dyn.edpnet.net 213.219.152.117
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.windows.vista.file_management:633 8
| X-Tomcat-NG: microsoft.public.windows.vista.file_management
|
| Hello!
| When trying to copy large numbers of files (>500,000), Vista stops after
| ~300,000 and complains:
| "There is not enough free memory."
| The size of the explorer.exe process keeps growing during copying (>500
MB)
| , but there should still be enough RAM (2GB).
| To me, this looks like a memory leak.
| I already tried hotfix KB942435, which seems to relate to a similar, but
not
| identical error message ("There is not enough memory to complete this
| operation.")
| Anyone knows another fix for this? Or how can I have this bug fixed?
| Thanks
| mister.jones
|
|
|

Reply With Quote
  #3 (permalink)  
Old 09-29-2007
mister.jones
 

Posts: n/a
Re: Memory leak when copying large numbers of files
Thanks, Adams Qu, for your thorough answer. I tried your suggestions, but
with little success.

> 1. Install the latest Updates
> --------------------------------
> Please download and install the update KB938979 from the following KB
> article:

KB938979 was already installed.

> 2. Clean boot the Vista machine
> --------------------------------

The problem persists even in safe mode with no services running.

> 3. Use the XCOPY command to copy the files
> --------------------------------

Wow, even XCOPY leads to an out-of-memory error message after a short while.
Scary.

After many painful reboots and recounting of files I have managed to move
the files with Explorer for now. Always when the number of files that have
been copied since the last reboot growth too large, things stop working
correctly: windows don't open, icons break, the registry seems to be
inaccessible etc., in short the system seems to be out of resources. I hope
that this will be fixed soon as I have to move similar amounts of files
regularly.
If you/the developers need more info, please say so.
Best regards
mister.jones


> | Hello!
> | When trying to copy large numbers of files (>500,000), Vista stops after
> | ~300,000 and complains:
> | "There is not enough free memory."
> | The size of the explorer.exe process keeps growing during copying (>500
> MB)
> | , but there should still be enough RAM (2GB).
> | To me, this looks like a memory leak.
> | I already tried hotfix KB942435, which seems to relate to a similar, but
> not
> | identical error message ("There is not enough memory to complete this
> | operation.")
> | Anyone knows another fix for this? Or how can I have this bug fixed?
> | Thanks
> | mister.jones
> |
> |
> |
>


Reply With Quote
  #4 (permalink)  
Old 10-01-2007
Adams Qu [MSFT]
 

Posts: n/a
Re: Memory leak when copying large numbers of files
Dear Jones,

Thank you for your feedback.

According to the all the information given, it appears that the system is
running out of resource when or after copying the files onto the local hard
drive.

Considering the current situation, let's first do a check disk and then
launch the "Reliability and Performance Monitor" program in Vista when the
system is running out of resource

1. Enter the Windows Vista Recovery Environment (WINRE) and then run the
CHKDSK /R to force a disk check.
2. Enter the normal mode, click Start, type: "Reliability and Performance
Monitor" in the Start Search bar.
3. Launch the "Reliability and Performance Monitor" program and then check
the problem again via this tool.

In addition, I have also performed further research. When you need to copy
a large number files again next time, I also suggest we manually increase
the number of system page table entries that are reserved for mapping I/O
buffers to test if it helps.

NOTE: Using Registry Editor incorrectly can cause serious problems that may
require you to reinstall Windows. Microsoft cannot guarantee that problems
resulting from the incorrect use of Registry Editor can be solved. Use
Registry Editor at your own risk.

256986 Description of the Microsoft Windows Registry
http://support.microsoft.com/?id=256986

1. Click Start, type: REGEDIT in the Start Search bar and then press Enter.
2. Open the following key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session Manager\Memory
Management

3. Make the following change
"SystemPages"=dword:ffffffff

4. Exit and reboot the computer.

NOTE: This registry entry defines the number of system page table entries
that are reserved for mapping I/O buffers and other information into the
system address space. Each system page table entry maps one page.

Have a nice day!

Best regards,

Adams Qu, MCSE, MCDBA, MCTS
Microsoft Online Support

Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
================================================== ===
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================== ===
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: "mister.jones" <mister.jones@noemail.noemail>
| References: <52F8DAC8-1111-4730-BA48-FCCEC08ACA4A@microsoft.com>
<oT8xp9bAIHA.4728@TK2MSFTNGHUB02.phx.gbl>
| In-Reply-To: <oT8xp9bAIHA.4728@TK2MSFTNGHUB02.phx.gbl>
| Subject: Re: Memory leak when copying large numbers of files
| Date: Sat, 29 Sep 2007 05:44:15 +0200
| Lines: 50
| Message-ID: <B6921425-5713-4A05-B7FD-A13494E2C35D@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| format=flowed;
| charset="iso-8859-1";
| reply-type=original
| Content-Transfer-Encoding: 7bit
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
| X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16480
| X-MS-CommunityGroup-PostID: {B6921425-5713-4A05-B7FD-A13494E2C35D}
| X-MS-CommunityGroup-ThreadID: 86B55CAD-6A01-4A31-A140-823B74E1C39A
| X-MS-CommunityGroup-ParentID: C1AF2AC8-B31F-48D9-9A02-163C4DF4CF17
| Newsgroups: microsoft.public.windows.vista.file_management
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.windows.vista.file_management:636 8
| NNTP-Posting-Host: TK2MSFTNGHUB02.phx.gbl 127.0.0.1
| X-Tomcat-NG: microsoft.public.windows.vista.file_management
|
| Thanks, Adams Qu, for your thorough answer. I tried your suggestions, but
| with little success.
|
| > 1. Install the latest Updates
| > --------------------------------
| > Please download and install the update KB938979 from the following KB
| > article:
| KB938979 was already installed.
|
| > 2. Clean boot the Vista machine
| > --------------------------------
| The problem persists even in safe mode with no services running.
|
| > 3. Use the XCOPY command to copy the files
| > --------------------------------
| Wow, even XCOPY leads to an out-of-memory error message after a short
while.
| Scary.
|
| After many painful reboots and recounting of files I have managed to move
| the files with Explorer for now. Always when the number of files that
have
| been copied since the last reboot growth too large, things stop working
| correctly: windows don't open, icons break, the registry seems to be
| inaccessible etc., in short the system seems to be out of resources. I
hope
| that this will be fixed soon as I have to move similar amounts of files
| regularly.
| If you/the developers need more info, please say so.
| Best regards
| mister.jones
|
|
| > | Hello!
| > | When trying to copy large numbers of files (>500,000), Vista stops
after
| > | ~300,000 and complains:
| > | "There is not enough free memory."
| > | The size of the explorer.exe process keeps growing during copying
(>500
| > MB)
| > | , but there should still be enough RAM (2GB).
| > | To me, this looks like a memory leak.
| > | I already tried hotfix KB942435, which seems to relate to a similar,
but
| > not
| > | identical error message ("There is not enough memory to complete this
| > | operation.")
| > | Anyone knows another fix for this? Or how can I have this bug fixed?
| > | Thanks
| > | mister.jones
| > |
| > |
| > |
| >
|
|

Reply With Quote
  #5 (permalink)  
Old 10-04-2007
Adams Qu [MSFT]
 

Posts: n/a
Re: Memory leak when copying large numbers of files
Dear Jones,

How are things going? I have not heard back from you in a few days and
wanted to check on the status of the problem. Please let me know how the
troubleshooting steps turned out.

Have a nice day!

Best regards,

Adams Qu
MCSE, MCDBA, MCTS
Microsoft Online Support

Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
================================================== ===
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================== ===
This posting is provided "AS IS" with no warranties, and confers no rights.



--------------------
| X-Tomcat-ID: 173922642
| References: <52F8DAC8-1111-4730-BA48-FCCEC08ACA4A@microsoft.com>
<oT8xp9bAIHA.4728@TK2MSFTNGHUB02.phx.gbl>
<B6921425-5713-4A05-B7FD-A13494E2C35D@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: v-adamqu@online.microsoft.com (Adams Qu [MSFT])
| Organization: Microsoft
| Date: Mon, 01 Oct 2007 13:57:11 GMT
| Subject: Re: Memory leak when copying large numbers of files
| X-Tomcat-NG: microsoft.public.windows.vista.file_management
| Message-ID: <8OK75LDBIHA.5204@TK2MSFTNGHUB02.phx.gbl>
| Newsgroups: microsoft.public.windows.vista.file_management
| Lines: 139
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.windows.vista.file_management:639 3
| NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
|
| Dear Jones,
|
| Thank you for your feedback.
|
| According to the all the information given, it appears that the system is
| running out of resource when or after copying the files onto the local
hard
| drive.
|
| Considering the current situation, let's first do a check disk and then
| launch the "Reliability and Performance Monitor" program in Vista when
the
| system is running out of resource
|
| 1. Enter the Windows Vista Recovery Environment (WINRE) and then run the
| CHKDSK /R to force a disk check.
| 2. Enter the normal mode, click Start, type: "Reliability and Performance
| Monitor" in the Start Search bar.
| 3. Launch the "Reliability and Performance Monitor" program and then
check
| the problem again via this tool.
|
| In addition, I have also performed further research. When you need to
copy
| a large number files again next time, I also suggest we manually increase
| the number of system page table entries that are reserved for mapping I/O
| buffers to test if it helps.
|
| NOTE: Using Registry Editor incorrectly can cause serious problems that
may
| require you to reinstall Windows. Microsoft cannot guarantee that
problems
| resulting from the incorrect use of Registry Editor can be solved. Use
| Registry Editor at your own risk.
|
| 256986 Description of the Microsoft Windows Registry
| http://support.microsoft.com/?id=256986
|
| 1. Click Start, type: REGEDIT in the Start Search bar and then press
Enter.
| 2. Open the following key:
|
| HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session
Manager\Memory
| Management
|
| 3. Make the following change
| "SystemPages"=dword:ffffffff
|
| 4. Exit and reboot the computer.
|
| NOTE: This registry entry defines the number of system page table entries
| that are reserved for mapping I/O buffers and other information into the
| system address space. Each system page table entry maps one page.
|
| Have a nice day!
|
| Best regards,
|
| Adams Qu, MCSE, MCDBA, MCTS
| Microsoft Online Support
|
| Microsoft Global Technical Support Center
|
| Get Secure! - www.microsoft.com/security
| ================================================== ===
| When responding to posts, please "Reply to Group" via your newsreader so
| that others may learn and benefit from your issue.
| ================================================== ===
| This posting is provided "AS IS" with no warranties, and confers no
rights.
|
| --------------------
| | From: "mister.jones" <mister.jones@noemail.noemail>
| | References: <52F8DAC8-1111-4730-BA48-FCCEC08ACA4A@microsoft.com>
| <oT8xp9bAIHA.4728@TK2MSFTNGHUB02.phx.gbl>
| | In-Reply-To: <oT8xp9bAIHA.4728@TK2MSFTNGHUB02.phx.gbl>
| | Subject: Re: Memory leak when copying large numbers of files
| | Date: Sat, 29 Sep 2007 05:44:15 +0200
| | Lines: 50
| | Message-ID: <B6921425-5713-4A05-B7FD-A13494E2C35D@microsoft.com>
| | MIME-Version: 1.0
| | Content-Type: text/plain;
| | format=flowed;
| | charset="iso-8859-1";
| | reply-type=original
| | Content-Transfer-Encoding: 7bit
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16480
| | X-MS-CommunityGroup-PostID: {B6921425-5713-4A05-B7FD-A13494E2C35D}
| | X-MS-CommunityGroup-ThreadID: 86B55CAD-6A01-4A31-A140-823B74E1C39A
| | X-MS-CommunityGroup-ParentID: C1AF2AC8-B31F-48D9-9A02-163C4DF4CF17
| | Newsgroups: microsoft.public.windows.vista.file_management
| | Path: TK2MSFTNGHUB02.phx.gbl
| | Xref: TK2MSFTNGHUB02.phx.gbl
| microsoft.public.windows.vista.file_management:636 8
| | NNTP-Posting-Host: TK2MSFTNGHUB02.phx.gbl 127.0.0.1
| | X-Tomcat-NG: microsoft.public.windows.vista.file_management
| |
| | Thanks, Adams Qu, for your thorough answer. I tried your suggestions,
but
| | with little success.
| |
| | > 1. Install the latest Updates
| | > --------------------------------
| | > Please download and install the update KB938979 from the following KB
| | > article:
| | KB938979 was already installed.
| |
| | > 2. Clean boot the Vista machine
| | > --------------------------------
| | The problem persists even in safe mode with no services running.
| |
| | > 3. Use the XCOPY command to copy the files
| | > --------------------------------
| | Wow, even XCOPY leads to an out-of-memory error message after a short
| while.
| | Scary.
| |
| | After many painful reboots and recounting of files I have managed to
move
| | the files with Explorer for now. Always when the number of files that
| have
| | been copied since the last reboot growth too large, things stop working
| | correctly: windows don't open, icons break, the registry seems to be
| | inaccessible etc., in short the system seems to be out of resources. I
| hope
| | that this will be fixed soon as I have to move similar amounts of files
| | regularly.
| | If you/the developers need more info, please say so.
| | Best regards
| | mister.jones
| |
| |
| | > | Hello!
| | > | When trying to copy large numbers of files (>500,000), Vista stops
| after
| | > | ~300,000 and complains:
| | > | "There is not enough free memory."
| | > | The size of the explorer.exe process keeps growing during copying
| (>500
| | > MB)
| | > | , but there should still be enough RAM (2GB).
| | > | To me, this looks like a memory leak.
| | > | I already tried hotfix KB942435, which seems to relate to a
similar,
| but
| | > not
| | > | identical error message ("There is not enough memory to complete
this
| | > | operation.")
| | > | Anyone knows another fix for this? Or how can I have this bug fixed?
| | > | Thanks
| | > | mister.jones
| | > |
| | > |
| | > |
| | >
| |
| |
|
|

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying Large Files Over The Network....Extreamly SLOW -Draino- microsoft.public.windows.vista.general 7 04-18-2007 08:08
Copying Large Files Over The Network....Extreamly SLOW -Draino- microsoft.public.windows.vista.file management 2 04-12-2007 17:55
Copying Large Files Over The Network....Extreamly SLOW -Draino- microsoft.public.windows.vista.networking sharing 2 04-08-2007 18:26
Copying large files wirelessly (kb932045) Troy Lokitz microsoft.public.windows.vista.networking sharing 0 03-03-2007 02:43
Copying large folders only finds a tiny percentage of files Dale microsoft.public.windows.vista.general 0 02-26-2007 00:28




All times are GMT +1. The time now is 00:05.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com , Win7Heads.com and Win8Heads.com.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 RC 2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120