Wikiposts
Search
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Out of Memory at Line 56

Thread Tools
 
Search this Thread
 
Old 16th Nov 2008, 16:28
  #1 (permalink)  
Thread Starter
 
Join Date: Mar 2000
Location: Sunrise Senior Living
Posts: 1,338
Likes: 0
Received 0 Likes on 0 Posts
Out of Memory at Line 56

My big lad (age 15), when doing what lads do on the internet ie watching U-tube and MSN-ing at the same time, manages to generate a message which says 'Out of memory at line 56 (sometimes Line 58)'. The PC then freezes for a couple of minutes before resuming normal service.

This is a 4 year old Dell Dimension PC with a Pentium 4, 3.06Hz processor, 80G hard drive and I have just had the RAM upgunned from 500Mb to 2.5G. The sound card is a Nvidia GeForce 4200 and a very recent reinstall of Win xp. All that should have given it a new lease of life. I use AOL Bb and have not had any trouble with that and use IE7. It can't be out of memory!!

I have all the updates as recommended by Secunia, defragged (not that it needed it after the reinstall) and scanned.

Looking at google, it seems to be a IE problem, but the MS website can't help.

Has anyone else had the same or similar problem. I'm fed up being shouted at by an impatient teenager - yes, I know the ultimate answer, but he's not that bad really!!

Cheers all,
mcdhu
mcdhu is offline  
Old 16th Nov 2008, 16:47
  #2 (permalink)  
Recidivist
 
Join Date: Jun 2005
Location: Essex, UK
Posts: 1,239
Likes: 0
Received 0 Likes on 0 Posts
Simple, quick and free answer is to try Opera or Firefox and see if the problem stays.

If not, put IE in the bin where it belongs. (Not literally, just don't use it any more)
frostbite is offline  
Old 16th Nov 2008, 16:49
  #3 (permalink)  
More bang for your buck
 
Join Date: Nov 2005
Location: land of the clanger
Age: 82
Posts: 3,512
Likes: 0
Received 0 Likes on 0 Posts
Uninstall adobe flash player using the adobe uninstaller ( How to uninstall the Adobe Flash Player plug-in and ActiveX control ) then either re-install it or use a lookalike
green granite is offline  
Old 16th Nov 2008, 16:51
  #4 (permalink)  
 
Join Date: Oct 2007
Location: Norfolk U.K.
Age: 68
Posts: 448
Likes: 0
Received 0 Likes on 0 Posts
I'm no expert but a quick Google threw up a couple of possibilities: Problems with older versions of Adobe Flash player and Java code on certain websites. The Flash player would be dealing with You Tube videos, so it would be worth updating it from the Adobe site.
The Flying Pram is offline  
Old 16th Nov 2008, 16:55
  #5 (permalink)  
Upto The Buffers
 
Join Date: Apr 2006
Location: Leeds/Bradford
Age: 48
Posts: 1,112
Likes: 0
Received 0 Likes on 0 Posts
It can't be out of memory!!
Oh yes it can. This sounds like good old crap coding. It depends what language they're written in, but let's take this as an example:

How it should work:
Application needs memory for something, asks OS for memory.
OS gives application memory.
Application uses memory.
Application gives memory back to OS when it's finished.

How it shouldn't work:
Application needs memory for something, asks OS for memory.
OS gives application memory.
Application uses memory.
Due to sloppy coding, application does not give memory back to OS.
Application needs memory for something, asks OS for memory.
Application uses memory.
Due to sloppy coding, application does not give memory back to OS.
Application needs memory for something, asks OS for memory.
Application uses memory.
Due to sloppy coding, application does not give memory back to OS.
Memory disappears into a black hole somewhere. The OS thinks the application has it, and the application doesn't realise it hasn't given it back to the OS. This is known as a memory leak.

When the error occurs, you could try opening task manager. On the process tab you'll be able to see how much memory the OS has dished out to specific applications. If that doesn't narrow it down, try Sysinternals Process Monitor; it should go pretty mental when such an error arises and point you in the direction of the problem. A start, at least.
Shunter is offline  
Old 16th Nov 2008, 20:38
  #6 (permalink)  
Thread Starter
 
Join Date: Mar 2000
Location: Sunrise Senior Living
Posts: 1,338
Likes: 0
Received 0 Likes on 0 Posts
Thank you very much everyone for the input so far. I'll have a stab at the flash player tomorrow when U-tube is in less demand. Trouble is I can't re-create it - or don't want to!

Wikipedia has quite a good explanation of memory leak - but not as good as yours Shunter!

Cheers all,
mcdhu
mcdhu is offline  
Old 16th Nov 2008, 21:40
  #7 (permalink)  
 
Join Date: Nov 2000
Location: Cambridge, England, EU
Posts: 3,443
Likes: 0
Received 1 Like on 1 Post
There's another simple explanation for spurious "out of memory" errors.

Sloppy amateur coders make system and library calls and don't check for errors at all. When something goes wrong their code crashes.

Professional programmers check for errors all the time and do their best to give meaningful diagnostics.

Sloppy amateur coders who are vaguely aware of the concept of error checking but too lazy to do it properly will check for errors, and if they detect any error at all, regardless of whether it's running out of memory or something else completely different, will print an "out of memory" message because, well, perhaps it is actually out of memory, and anyway it's very boring to write all the proper code to work out what really happened.

Such things really happen. I've seen the code. On a really bad day because I'm being paid to rewrite it properly.
Gertrude the Wombat is offline  
Old 17th Nov 2008, 07:54
  #8 (permalink)  
Thread Starter
 
Join Date: Mar 2000
Location: Sunrise Senior Living
Posts: 1,338
Likes: 0
Received 0 Likes on 0 Posts
Green Granite, do you have any suggestions as to an alternative to the Adobe Flash Player?

Cheers
mcdhu
mcdhu is offline  
Old 17th Nov 2008, 14:50
  #9 (permalink)  
 
Join Date: Apr 2005
Location: UK
Posts: 368
Likes: 0
Received 0 Likes on 0 Posts
Might be an idea to increase the the disk/memory for your 'Temporary Internet Files'. Had this problem a few years ago. Start>right click explorer>left click 'internet properties'>left click 'settings' then increase the amount of disk space for Temp internet files>when increased, left click 'ok' at bottom of page> (then reboot). I have mine set at 9863MB.

Your pc uses the HD as memory for temporary internet files. Think it's called SDRam.

Last edited by dazdaz; 17th Nov 2008 at 15:12.
dazdaz is offline  
Old 17th Nov 2008, 20:29
  #10 (permalink)  
Thread Starter
 
Join Date: Mar 2000
Location: Sunrise Senior Living
Posts: 1,338
Likes: 0
Received 0 Likes on 0 Posts
Got rid of Adobe Flash Player 9 using the removal tool and put in Version 10 which seems to have fixed it - so far so good!!

Many thanks to all concerned for your time.

Cheers
mcdhu
mcdhu is offline  
Old 18th Nov 2008, 07:25
  #11 (permalink)  
More bang for your buck
 
Join Date: Nov 2005
Location: land of the clanger
Age: 82
Posts: 3,512
Likes: 0
Received 0 Likes on 0 Posts
Green Granite, do you have any suggestions as to an alternative to the Adobe Flash Player?
Sorry I was having a mental aberration there, I was thinking of real player for which there are substitutes, there is one for flash but it's open source linux type product.
green granite is offline  
Old 18th Nov 2008, 07:44
  #12 (permalink)  
Thread Starter
 
Join Date: Mar 2000
Location: Sunrise Senior Living
Posts: 1,338
Likes: 0
Received 0 Likes on 0 Posts
No problem - thanks. All fixed now so I guess we can close the thread.

Until the next time,
Cheers,
mcdhu
mcdhu is offline  

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

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



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.