Memory Leakage as Fast As Possible
Techquickie
·Techquickie
·2016-05-06
·
894 words · ~4 min read
0:03
yep I think I see the problem so you've had
0:07
uh slow program loading poor multitasking and overall sluggish
0:12
performance lately that combined with what I found when checking the systems
0:16
random access memory usage I'd say
0:19
you've got all the telltale signs of a memory
0:24
leak and we're back now the term memory
0:27
leak is used to describe a range of communication errors that result from
0:32
poorly written application programming that reduce the available amounts of
0:37
dynamic Heap memory you see whenever we start up a program on our computers or
0:42
other devices a request for Hardware resources known as a system call is
0:47
triggered and in the case of RAM it reserves chunks or blocks of application
0:53
heaped memory for a program to occupy while it's doing whatever it is the
0:57
programs on your computer do when you're finished
1:01
with that and you exit a program these
1:05
reserved blocks of RAM are supposed to be cleared for later use or reallocated
1:10
to another running program that needs them the issue of leakage arises
1:16
whenever an application fails to communicate that this reserved memory
1:20
can be cleared causing it to be ostensibly locked in time and space or
1:26
when a program Stacks requests for repeated tasks on top top of each other
1:30
instead of starting and closing them as needed until all RAM is consumed and the
1:35
OS is forced to use lead footed hard drive space as a Reserve at least on PCS
1:42
that is so let's give an example of what this might look like if your web browser
1:46
was causing a memory leak you'd open up yet another Tab and fire up a website
1:52
and a chunk of RAM would be assigned you'd open another and boom chunk of RAM
1:56
again well imagine your sister walked in and you closed that First Site quickly
2:00
before she could see it was the fan site you made about her best friend but instead of actually closing down the
2:05
running process when the tab was terminated your computer simply made it
2:11
disappear making it difficult to track down what's using all that RAM so now we
2:17
know what a memory leak is so how do we diagnose them well first we can look at
2:23
system specs versus the tasks that the user is trying to perform and if
2:27
performance is painfully sluggish Rel ative to that it might be a problem then
2:32
you can fire up good old task manager or a third party app if you're on a phone
2:37
and either monitor it periodically for gradual increases in RAM usage that just
2:42
pile up over time or by tracking down
2:45
the typical application memory usage to compare to what you're seeing on the
2:50
Google not to mention that other googlers complaining about a leaky
2:54
program is another solid indicator all
2:57
right so we've gotten this far then how do you fix the blue things once you find
3:01
them well a couple of ways number one did you try turning it off and turning
3:05
it back on again no seriously a restart
3:09
will force Hardware resources to be given up until they're requested again
3:13
number two if the problem is caused by your operating system H you're probably
3:18
stuck waiting for an update and number three if the problem is caused by a
3:22
sloppily coded program or game check for
3:25
updates again and if there aren't any then I guess the only solution is to
3:30
toss them cuz if a manufacturer can't be bothered to make sure their software
3:33
operates correctly then they don't deserve your business that is unless of
3:37
course you've already given it to them speaking of already giving them your
3:41
business linda.com you can give them your
3:45
Business Without Even committing to anything you get 10 days of free trial
3:51
by clicking on the link in the video description well hold on a second lest what is linda.com well it's the site
3:56
where you can watch and learn from Top experts who are passionate about
3:59
teaching teaching what you might ask well thousands of video courses on
4:03
demand about all kinds of subjects whether it's digital photography video
4:07
editing business or well all the other things that I'm sure are going to be
4:10
overlaid on the screen right now in front of me woo you can take notes as
4:14
you go refer to them later you can download the tutorials and watch them On
4:17
The Go including on iOS and Android devices and you can create and save
4:21
playlists of courses that you want to watch to customize your learning path or
4:25
share with friends colleagues and team members so the call to action here is
4:29
pretty simple visit linda.com tequ for
4:33
unlimited access for 10 days for free and if you like it then your flat rate
4:39
membership is starting at just $25 per
4:42
month I think that's pretty much it guys thanks for watching like the video if
4:46
you liked it dislike it if you thought it sucked leave a comment if you have suggestions for future fastest posses
4:51
and as always don't forget to subscribe follow and all that good stuff for more
4:54
videos for me and other people