locked
Windows 7 Pro out of memory RRS feed

  • Question

  • I have access to 2 similar sony VAIO laptops - VGN-AW41MF_H

    One is running Windows 7 Pro 64 bit and (now) has 8 Gig Ram

    My colleague's is running Windows 7 Home premium and has 4 Gig of ram

    When running a video conversion application, Daniusoft Video Converter, on my laptiop (Pro), memory consumptionrises to 97%, then runs between 90% and 97% (4 Gig or 8Gig). All to often it then exceeds this and the application cashes with Out of Memory and an application fault.

    When a succesfull conversion has been achieved, then if I exit from the program and then go back into it, any subsequent conversion will fail very rapidly with out of memory. This can only be cleared by re-booting from cold.

    On the Home premium laptop, memory never exceeds 40%, exiting and re-entering the application is not a problem,  and the application is solid as a rock. This while running exactly the same file conversion with the same option settings in the Daniusoft application.

    I have identified and implemented this fix dor the Desktop heap setting

    http://support.microsoft.com/kb/947246

    This appears to have marginally improved the chances of achieving a single file conversion, but problems with running batches thereof, or exiting the application and re-starting it remain.

    Any advice would be much appreciated. Given the startling difference in capability of the two systems, where the only significant difference is Win 7 Pro (fails), Win 7 Home Premium (works), I do rather suspect the OS rather than the application. 

    Friday, December 10, 2010 5:52 PM

Answers

  •  

    0: kd> !poolused 4
       Sorting by  Paged Pool Consumed

      Pool Used:
                NonPaged            Paged
     Tag    Allocs     Used    Allocs     Used
     None        0        0  16254795 8842605600    call to ExAllocatePool

    ExAllocatePool internally calls ExAllocatePoolWithTag with a tag value of 'enoN' (that is the "None" you see).

    I don't know how to see which driver is the cause.

    The only thing I know that MS doesn't allows this today. So the driver is older. I checked the loaded drivers and found some older ones:

    Afc.sys      Wed Jul 12 07:48:20 2006
    ElRawDsk.sys Sat Jul 26 19:59:09 2008
    regi.sys     Mon Apr 16 17:19:10 2007
    SFEP.sys     Fri Aug 03 07:35:53 2007

    Update the drivers or disable them and 1 followed by the other to see which driver is the cause.

    André


    "A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
    • Marked as answer by Miya Yao Friday, January 7, 2011 2:37 AM
    Tuesday, January 4, 2011 8:17 PM

All replies

  • There shouldn't be any difference in performance between the two, unless the Home Premium is 32-bit.  It could be a memory leak in a driver; check your BIOS and driver versions, especially chipset and video and see if there's a difference.
    Friday, December 10, 2010 6:41 PM
  • Please download RAMMap [1] and run it when you have the high Memory usage. Now save the data as a RMP file. Zip the RMP file and upload the zip to your SkyDrive [2] and post a link here.

    André

    [1] http://technet.microsoft.com/en-us/sysinternals/ff700229.aspx
    [2] http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/4fc10639-02db-4665-993a-08d865088d65
    "A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
    Friday, December 10, 2010 9:24 PM
  • There shouldn't be any difference in performance between the two, unless the Home Premium is 32-bit.

    Both are 64 Bit, so, my point exactly. So why does Windows Pro fail and Windows home premium work when the two laptops are otherwise identical?  

    Nvidia GeoForce driver checks out as up to date.

    Saturday, December 11, 2010 7:38 PM
  • Do what I told you and give me the RAMMap data.

    "A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
    Saturday, December 11, 2010 7:39 PM
  • ok, you have a memory leak in the kernel. A driver is leaking memory.


    • Download poolmon3vbs.zip from here
    • Extract this zip file to C:\Poolmon3
    • Double click C:\Poolmon3\_LogPool-as-a-service.cmd to start logging

    This should start a cmd prompt and start dumping log files to C:\Poolmon3. Let this run for some time until you get the high memory usage again, and then run C:\Poolmon3\_RemovePoolmon3service.cmd to stop the logging. Zip and upload the contents of C:\Poolmon3 so I can take a look at the data to see what's happening.

    best regards
    André

    "A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
    Sunday, December 12, 2010 12:13 AM
  • Poolmon 3 - Willdo

    And, thanks for the help

     

    Chris Hibbert

    Monday, December 13, 2010 8:02 PM
  • OK, uploaded my Poolmon output

    http://cid-1bdd18b840324e69.office.live.com/richupload.aspx/WinMemProbs?nl=1&sa=458482295

    I

    Fired up the application and qued some files for conversion

    Started Poolmon

    Started the applicaton running on the batch of video files to convert

    Waited until the resulting memory usage was bumping along in the high 90s

    Stopped Poolmon and zipped up the results for you.

    Again, much thanks for the interest

    Monday, December 13, 2010 8:38 PM
  • === Mon 13/12/2010 20:27:02  ComputerName=POWERHOUSE  FreePTEs=33,557,457 ===
      ProcessTotalHandleCount=30,806;  SystemThreads=1,277;  SystemProcesses=118

    Memory: 8354876K Avail:  860336K  PageFlts:25675660   InRam Krnl:16856K P:6480320K
    Commit:11878492K       Pool N: 93,152K  P:9,081,204 K   SystemUpTime(hours)=1.40


    nearly 9GB of paged pool. This is extreme.

    None Paged           36096878           20532961          15563917     8466767968              543        [<unknown> - call to ExAllocatePool]

    But I can't see which driver is the cause.


    Try to generate a manual kernel dump at the time you get this issue again:

    http://support.microsoft.com/kb/969028/

    set the valeus from the KB article and press the keyboard combination to crash your PC, reboot and zip the file C:\Windows\Memory.dmp in 50MB parts and upload all zips to your SkyDrive.


    André


    "A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
    • Proposed as answer by Miya Yao Tuesday, December 14, 2010 7:16 AM
    Monday, December 13, 2010 9:35 PM
  • Try to generate a manual kernel dump at the time you get this issue again:

    I assume you mean when I get to around 97% memory usage as when I stopped the Poolmon recording.

      zip the file C:\Windows\Memory.dmp in 50MB parts and upload all zips to your SkyDrive.

    I don't normally get involved in zipping such large files. I assume standard Windows Sernd to compressed file has that capability to split into sections.

    Again, thanks for the help, this is looking "interesting"

     

    Tuesday, December 14, 2010 6:46 PM
  • Having read the article, which has no references to Windows 7, could I seek reassurance as follows

    The setting of the dump options in system startup/recovers is offering none, small or kernel

    Do I need to enable the registry change CrashDumpEnabled as mentioned, or is Win7 (pro) different?

    Is the  CTRL+SCROLL LOCK+SCROLL LOCK trick enabled in Win7, or does that have to be set up as well?

    If I elect to use the NotMyFault tool, where should this be unzipped to, and do I assume the cmd line is <path>Notmyfault.exe /crash. Should I use the /Release or x64/release version? I have 64Bit Win7 Pro

    This sounds like I am going to generate 9gig of dump to be uploaded, right? That is going to be 180 50MB files unless I have got my arithetic out of line. Is that going to be practicable? I do have broadband, but upload speeds are not exactly ultra fast. Does uploading to Skydrive include a multi-select list facility? It is going to need to! Or is this a situation where burning just 2 files to DVDs might just be the lesser of all evils?

     

    Tuesday, December 14, 2010 7:38 PM
  • the trick applies to Windows 7, too.

    Don't use the notmyfault tool, follow the steps under :

    How to generate a manual memory dump file by using the keyboard


    "A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
    Tuesday, December 14, 2010 9:31 PM
  • OK, zipped up memory dump now uploading. It is 1,561,877Kb so it will take a long time.

    Max size oe each part file is 49,152kb

    http://cid-1bdd18b840324e69.office.live.com/richupload.aspx/WinMemProbs?nl=1&sa=297114140

    Wednesday, December 15, 2010 9:15 PM
  • Which tool did you use to create the 7z archives? I'm sing 7zip 9.20 and I can't open the files.

    "A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
    Wednesday, December 15, 2010 11:28 PM
  • I am using Winzip 14 You do not have the full set yet, the "all at once" upload facility fell over at around 20 files (04:00 am!), and I have had to revert to the "5 at a time" facility, which is still running I will still be 2 files short by the time i have to go to work, including the initial CJHMemDump.zip which will be that last one. I hope to finish them m off this evening (Thursday). As expected, it's a lot of data to stuff the wrnong way up a broadband connection!
    Thursday, December 16, 2010 8:02 AM
  • Just started the last 2 files. 12:45 GMT You should thereforehave the whole set within an hour or so. Lets hope with the initial zip file you can then get into them!
    Thursday, December 16, 2010 12:45 PM
  • I assume you got these and can use them.

    I will not be too surprised if it takes a while to figure out what's going on.

    Please note I am away and off line so far as this is concerned Dec 23 (AM UK Time) to Jan 2, so any lack of replies during that period does not indicate lack of interest!

    Friday, December 17, 2010 7:38 PM
  • I am now a little surprised to not have any further communication, but assume you are waiting for me to re-appear "after Cristmas".

     

    Did you find anyhting useful from the submitted memory dump?

    Tuesday, January 4, 2011 7:09 PM
  •  

    0: kd> !poolused 4
       Sorting by  Paged Pool Consumed

      Pool Used:
                NonPaged            Paged
     Tag    Allocs     Used    Allocs     Used
     None        0        0  16254795 8842605600    call to ExAllocatePool

    ExAllocatePool internally calls ExAllocatePoolWithTag with a tag value of 'enoN' (that is the "None" you see).

    I don't know how to see which driver is the cause.

    The only thing I know that MS doesn't allows this today. So the driver is older. I checked the loaded drivers and found some older ones:

    Afc.sys      Wed Jul 12 07:48:20 2006
    ElRawDsk.sys Sat Jul 26 19:59:09 2008
    regi.sys     Mon Apr 16 17:19:10 2007
    SFEP.sys     Fri Aug 03 07:35:53 2007

    Update the drivers or disable them and 1 followed by the other to see which driver is the cause.

    André


    "A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
    • Marked as answer by Miya Yao Friday, January 7, 2011 2:37 AM
    Tuesday, January 4, 2011 8:17 PM