Peculiar message “Out Of Memery(OOM)”

A few days ago, some of my friends inform me , when they open my site www.engr-faisal.co.nr in IE7 or higher(in beta version) then their browser giving a message, which is “Out of memory at line ##”.

OOM showing in IE7( Vista OS )

OOM showing in IE7( Vista OS )


OOM in IE8 (BETA) and OS XP

OOM in IE8 (BETA) and OS XP

Actually I use Opera 9.23 as my default browser and also IE6 and others. But I never faced this type of problem. Even my site working pretty nice with all browser except IE7.

Actually “Out of memory(OOM)” case in modern computers when the operating system is unable to create any more virtual memory. If all of its potential backing devices have been filled. Such a system will be unable to load any additional programs and since many programs may load additional data into memory during execution, these will cease to function correctly.
The Operating systems such as Linux will attempt to recover from this type of OOM condition by terminating a low-priority process, a mechanism known as the OOM Killer.

This behavior can occur if the desktop heap in the WIN32 subsystem is depleted. Because in Windows NT 3.4’s default heap size is 512K , and 3072K in case of Windows NT 3.1.

Now how to remove this OOM message :(?
Okay .. To correct this problem, we may increase the size of the desktop heap. But before do this you have to know, how to modify the registry. Otherwise it can cause serious problems if you modify the registry incorrectly. For more information about how to back up and restore the registry you can read this article.
Now get ready………………

  • Run Registry Editor (simply open RUN window, then type regedit).
  • From the HKEY_LOCAL_MACHINE subtree, go to the following key: ->System->CurrentControlSet->Control->Session Manager->SubSystems
  • Select the Windows value.
    From the Edit menu, choose String.
    Increase the SharedSection parameter.
  • For Windows NT:
    SharedSection specifies the system and desktop heaps using the following format:
    SharedSection=xxxx,yyyy
    Add “,256” or “,512” after the yyyy number.
  • For Windows 2000, Windows XP, and Windows Server 2003:
    SharedSection uses the following format to specify the system and desktop heaps:
    SharedSection=xxxx,yyyy,zzz
    Increase the zzz number to “256” or “512.”
  • Hope this will help to prevent OOM.:)

    Advertisements


    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s