Program too Big to run in memory

Discussion in 'Windows 7' started by NICK@NUMBER11, Jun 9, 2012.

  1. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,355
    635
    60
    #1 NICK@NUMBER11, Jun 9, 2012
    Last edited by a moderator: Apr 20, 2017
    Hi all

    Strange thins hapening when trying to run this cmd file...

    Code:
    @echo off
    CLS
    TITLE Admin Installation for Windows 7 - build 09.06.2012
    echo.
    echo Getting Installation Files Ready...
    echo Done!
    echo.
    echo Getting Ready Malicious software removal tool
    echo Installing Malicious Software Removal Tool...
    start /wait windows-kb890830-v4.8.exe /q
    echo Done!
    echo.
    echo Getting Ready Misc apps 
    echo Installing Silverlight... 
    start /wait Silverlight.exe /q
    echo Done!
    echo.
    echo Getting Ready Defender Definitions
    echo Installing Windows Defender Definition updates...
    start /wait mpas-fe.exe /Q
    echo Done!
    echo.
    echo Getting Ready NET Framework 4
    echo Installing .NET 4 Framework Client and Extended packages...
    start /wait dotNetFx40_Full_x86_x64_SlimSetup.exe /y
    echo Done!
    echo.
    echo Getting Ready Internet Explorer Teakes
    echo Applying Internet Explorer Registry Tweaks...
    start /w regedit /s IE_Tweaks.reg >nul
    echo Done!
    echo.
    echo Getting Ready Windows Update
    echo Installing Windows Updates...
    SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
    FOR /R "%~dp0" %%A IN (*.MSU) DO (
            ECHO= Installing %%~nA
            >NUL TIMEOUT /t 3
            WUSA "%%A" /quiet /norestart)
    echo Done!
    ECHO Press any key to restart
    any ideas, also happens when running under virtual pc too... :eek:

    SORTED NOW IT WAS A CORRUPT FILE....
     
  2. SuperBubble

    SuperBubble MDL Member

    Nov 18, 2011
    148
    249
    10
    #2 SuperBubble, Jun 12, 2012
    Last edited: Jun 12, 2012
    It always is. If you ever see Program too big to fit in memory these days, it's a corrupt file.

    Specifically, the MS-DOS header of the file is corrupt, and Windows' file loader can't figure out that it's a PE (Portable Executable - the format Windows uses for EXEs, DLLs, etc). So it tries to load it as a DOS program... and all hell breaks loose. :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...