BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 01-17-2007, 04:06 AM   #1
walds11
CrackBerry Addict
 
Join Date: Sep 2006
Location: Philly, PA
Model: 3GS
Carrier: at&t
Posts: 536
Default What causes memory leak?

Please Login to Remove!

I did a search and read some of the posts on memory leak, but I don't fully understand it. It appears that I get a slight memory leak everyday. I deleted all the unwanted languages and other apps that I do not use. The extra apps that I am using are Google Maps, Microhill Stock viewer and Magmic Blackjack Highroller game. I make sure I close apps when I am finished with them (escape out of them and do an alt/escape to make sure nothing else is running). I also delete my internet cache out everyday. I do get the hour glass once in a while when navigating through apps and when surfing the net sometimes. So, what exactly causes memory leak and how can it be fixed? Overall, I am happy with my Pearl and it's performance, but I think the performance could be more opitmal on my device. Maybe?
Offline  
Old 01-17-2007, 06:11 AM   #2
linuxpro
Thumbs Must Hurt
 
linuxpro's Avatar
 
Join Date: Apr 2005
Location: UK & Middle-East
Model: 8100
Carrier: Vodafone UK
Posts: 164
Default

I have the same problem with my pearl and as far as i am aware there is no fix for this problem
__________________

Offline  
Old 01-17-2007, 08:12 AM   #3
GMK
Talking BlackBerry Encyclopedia
 
GMK's Avatar
 
Join Date: Nov 2005
Location: Peachtree City, GA
Model: 8100
Carrier: TMO
Posts: 353
Default

This problem exists due to the programs and the OS not cleaning up after themselves when you properly exit programs. It took Bill Gates and company a long time to get their arms around this in Windows and its still not perfect. Maybe you recall some years back you could, for $19.95, get a little utility program that "frees up your memory." Well, what they did is see what programs are actually running and if not, they would return the memory addresses to the memory pool. Same thing here. Only we don't have that little program.

A reboot seems to accomplish this to some degree. Many posters believe in a weekly or so reboot. Can't hurt, likely helps. The best thing to do is to properly exit programs via menu or the ALT key.
__________________
"And malt does more than Milton can To justify God's ways to man." A.E. Housman
Offline  
Old 01-17-2007, 09:16 AM   #4
krad
No longer Registered.
 
krad's Avatar
 
Join Date: Jul 2005
Model: 0000
Posts: 788
Default

i can say... that with the .71 os i would say this has been fixed 90% of the time....

Most applications actually close when i hit the back button. There are some that still stay open like media manager... you can tell by hitting alt back button to see what is open.
Offline  
Old 01-17-2007, 09:16 AM   #5
HI-Tek
Knows Where the Search Button Is
 
Join Date: Apr 2005
Posts: 19
Default

I never had this problem when I used an 8700c.
Now I have to monitor my memory so my emails won't get deleted cause of the leak. I hope they address this soon.
Offline  
Old 01-17-2007, 09:45 AM   #6
kathrynhr
BlackBerry Extraordinaire
 
kathrynhr's Avatar
 
Join Date: Sep 2006
Location: Ohio
Model: Dr01d
Carrier: Veri$on
Posts: 2,066
Default

I'm not convinced there IS a major memory leak. I use my BB for about 4 solid hours a day, and I don't ever have to reboot for this reason.

I think people are just forgetting (or not knowing) that they have to manually close their programs in order to free the memory back up when they're finished using them. Pressing escape or hang-up does not close programs, it just removes them from the screen.

I think people probably have 10 programs open, but none of them up on the screen, and then think "Gee, this thing is slow..." and reboot.

For those who don't know, holding down alt+escape will show you all open programs. When my BB does get slow, I look through these and close any open programs I don't need. Works every time.
Offline  
Old 01-17-2007, 09:48 AM   #7
kathrynhr
BlackBerry Extraordinaire
 
kathrynhr's Avatar
 
Join Date: Sep 2006
Location: Ohio
Model: Dr01d
Carrier: Veri$on
Posts: 2,066
Default

Quote:
Originally Posted by HI-Tek
I never had this problem when I used an 8700c.
Now I have to monitor my memory so my emails won't get deleted cause of the leak. I hope they address this soon.
Have you tried deleting all the extra languages, etc. to free up room?
Offline  
Old 01-17-2007, 10:20 AM   #8
GMK
Talking BlackBerry Encyclopedia
 
GMK's Avatar
 
Join Date: Nov 2005
Location: Peachtree City, GA
Model: 8100
Carrier: TMO
Posts: 353
Default

Quote:
Originally Posted by kathrynhr
I think people are just forgetting (or not knowing) that they have to manually close their programs in order to free the memory back up when they're finished using them. Pressing escape or hang-up does not close programs, it just removes them from the screen.
I beg to differ. Using the escape button for most progreams does properly close them. If our measure of program closure is that an exited program does not show up in Switch Application then ESC works with every program I just tried it on, including Google maps, voice recorder, Klondike and few others.
__________________
"And malt does more than Milton can To justify God's ways to man." A.E. Housman
Offline  
Old 01-17-2007, 11:02 AM   #9
kathrynhr
BlackBerry Extraordinaire
 
kathrynhr's Avatar
 
Join Date: Sep 2006
Location: Ohio
Model: Dr01d
Carrier: Veri$on
Posts: 2,066
Default

Quote:
Originally Posted by GMK
I beg to differ. Using the escape button for most progreams does properly close them. If our measure of program closure is that an exited program does not show up in Switch Application then ESC works with every program I just tried it on, including Google maps, voice recorder, Klondike and few others.
It's the "most" I have a problem with. Escape doesn't close everything out of Switch Application (it has zero effect on Opera Mini, for example), so we have to assume it doesn't always communicate effectively with third-party applications at least. I've never had a problem with the preinstalled software persisting in memory, I grant you, but I will say that the only thing that works for me 100% of the time is closing the application I am using from within that application. And since I'm NOT having to reboot constantly due to memory problems, I'd say it's been a pretty effective strategy so far.
Offline  
Old 01-17-2007, 11:20 AM   #10
krad
No longer Registered.
 
krad's Avatar
 
Join Date: Jul 2005
Model: 0000
Posts: 788
Default

i think it comes to the third party when it comes to closing or not..

magmic is rock solid... there is no close on their games.. you have to hit the back key which kills the app...

devs should implement the back key to close.... i don't think this is a rim issue...

think of the hide when minmized or hide instead of close on windows... same thing...
Offline  
Old 01-17-2007, 01:41 PM   #11
TheBigNewt
BlackBerry Extraordinaire
 
TheBigNewt's Avatar
 
Join Date: Oct 2006
Location: Prescott, AZ
Model: 8900
OS: 5.0.0.411
Carrier: Tmobile
Posts: 1,641
Default

Memory leak does occur. My available memory has decresed following a battery pull even if I did not open any program, just received (and deleted) emails and calls. I remember it went down like 2mb in a couple of hours once. Now it's been holding at about 23mb for days without my doing anything except closing programs, and deleting email. I don't think anyone really can explain it. It just happens. Maybe the thing that tells you how much free memory you have is goofed up, like some battery meters.
__________________
BB 8900 Tmobile, Moto Droid Verizon
Offline  
Old 01-17-2007, 01:43 PM   #12
myet01
Thumbs Must Hurt
 
Join Date: Nov 2006
Model: 8703E
Carrier: Sprint
Posts: 117
Default

As a developer I can tell you there is only one thing that causes memory leaks - POOR CODING, PLAIN AND SIMPLE no matter what anyone else tells you!

Tony
Offline  
Old 01-17-2007, 06:15 PM   #13
soch
Thumbs Must Hurt
 
soch's Avatar
 
Join Date: Sep 2006
Model: 8220
Carrier: tmo
Posts: 92
Default

Yup, bad programming & poor testing are the only reasons for memory leaks.
__________________
8100, 8220 on TMO.
Offline  
Closed Thread



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

Forum Jump


1pcs used TSXMFPP128K Memory Card picture

1pcs used TSXMFPP128K Memory Card

$175.00



10 Inch Memory Foam Mattress,Full Foam Mattress with CertiPUR-US Certified White picture

10 Inch Memory Foam Mattress,Full Foam Mattress with CertiPUR-US Certified White

$209.00



Flash Card 4MB Memory Card Memory PC Business Memory Card Flash Card picture

Flash Card 4MB Memory Card Memory PC Business Memory Card Flash Card

$105.73



Memory Stick RAM Shipping Box - 5 Trays fits 250 DDR5 DDR4 DDR3 DIMM Modules New picture

Memory Stick RAM Shipping Box - 5 Trays fits 250 DDR5 DDR4 DDR3 DIMM Modules New

$41.50



WIFI Audio Voice Recorder Live Real-Time Audio Thru App | Charger & 32GB SD Card picture

WIFI Audio Voice Recorder Live Real-Time Audio Thru App | Charger & 32GB SD Card

$129.00



NEW Original Allen Bradley 2080-MEMBAK-RTC Memory Module With RTC Plug-In picture

NEW Original Allen Bradley 2080-MEMBAK-RTC Memory Module With RTC Plug-In

$288.89







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.