Memory Leaks Explained

  Рет қаралды 90,302

0612 TV w/ NERDfirst

0612 TV w/ NERDfirst

Күн бұрын

Let's take a closer look at what memory leaks are. How do they come about? Why are they a problem, and how can we resolve them?
= 0612 TV =
0612 TV, a sub-project of NERDfirst.net, is an educational KZbin channel. Started in 2008, we have now covered a wide range of topics, from areas such as Programming, Algorithms and Computing Theories, Computer Graphics, Photography, and Specialized Guides for using software such as FFMPEG, Deshaker, GIMP and more!
Enjoy your stay, and don't hesitate to drop me a comment or a personal message to my inbox =) If you like my work, don't forget to subscribe!
Like what you see? Buy me a coffee → www.nerdfirst.net/donate/
0612 TV Official Writeup: nerdfirst.net/0612tv
More about me: about.me/lcc0612
Official Twitter: / 0612tv
= NERDfirst =
NERDfirst is a project allowing me to go above and beyond KZbin videos into areas like app and game development. It will also contain the official 0612 TV blog and other resources.
Watch this space, and keep your eyes peeled on this channel for more updates! nerdfirst.net/
-----
Disclaimer: Please note that any information is provided on this channel in good faith, but I cannot guarantee 100% accuracy / correctness on all content. Contributors to this channel are not to be held responsible for any possible outcomes from your use of the information.

Пікірлер: 183
@waswat
@waswat 8 жыл бұрын
Clear and reasonably concise. Good use of illustrations to explain abstract concepts like this.
@NERDfirst
@NERDfirst 8 жыл бұрын
+waswat Thank you very much! Glad you liked the video =)
@SethD9964
@SethD9964 8 жыл бұрын
+waswat Agreed!
@NERDfirst
@NERDfirst 8 жыл бұрын
+Seth Doran Thank you! Glad you found the video useful =)
@FBI-ei6gb
@FBI-ei6gb 4 жыл бұрын
@@NERDfirst very self explanatory so if I delete a program via recycle bin or via setting I should restart the computer to ensure that I get all my ram back correct?
@NERDfirst
@NERDfirst 4 жыл бұрын
@@FBI-ei6gb Hello and thank you for your comment! Not at all. This is memory ie RAM. Deleting a program is largely on your computer's storage (eg. Hard disk or SSD). These two things are generally not connected.
@uniquesoul7002
@uniquesoul7002 8 жыл бұрын
This was so concise and to the point !!!Awesome
@NERDfirst
@NERDfirst 8 жыл бұрын
+Unique soul Hello and thank you very much for your comment! Glad you liked the video =)
@salmanmohammad9654
@salmanmohammad9654 8 жыл бұрын
Very informative and well explained in simple terms with good real time examples. Thank you very much!!
@NERDfirst
@NERDfirst 8 жыл бұрын
+Salman Mohammad You're welcome! Glad you found the video useful =)
@polskikanayt1228
@polskikanayt1228 8 жыл бұрын
Well done "tutorial". I just saved a lot of time not reading to boring articles. Keep going!
@NERDfirst
@NERDfirst 8 жыл бұрын
+Emil Natkowski Hello and thank you very much for your comment! Very happy to be of help =)
@vasilygerrans
@vasilygerrans 3 жыл бұрын
Thank you! Very informative, with good explanations.
@NERDfirst
@NERDfirst 3 жыл бұрын
You're welcome! Very happy to be of help =)
@maccheese3006
@maccheese3006 7 жыл бұрын
Oh you again...I should have subbed the last time I watch your "Bit masking" vid!! Excellent as usual! Keep it up!!
@NERDfirst
@NERDfirst 7 жыл бұрын
Thank you very much! Hope to see you around on more videos to come =)
@athziriherrejon6692
@athziriherrejon6692 3 жыл бұрын
Thank you so much for sharing your knowledge! AMAZING explanation
@NERDfirst
@NERDfirst 3 жыл бұрын
You're welcome! Very happy to be of help =)
@YeaB0i
@YeaB0i 3 жыл бұрын
Thanks for the explanation, really helped clear things up
@NERDfirst
@NERDfirst 3 жыл бұрын
You're welcome! Very happy to be of help =)
@mikemcmanus2815
@mikemcmanus2815 Жыл бұрын
Great explanation!
@NERDfirst
@NERDfirst Жыл бұрын
Hello and thank you for your comment! Glad you liked the video =)
@celiagaylard489
@celiagaylard489 7 жыл бұрын
A comprehensive video. Thanks a bunch.
@NERDfirst
@NERDfirst 7 жыл бұрын
You're welcome! Glad to be of help =)
@Gabriel-jx4or
@Gabriel-jx4or 5 жыл бұрын
Thank you, Icc0612, very cool!
@NERDfirst
@NERDfirst 5 жыл бұрын
You're welcome! Glad to be of help =)
@ricardo.mazeto
@ricardo.mazeto 8 жыл бұрын
Man, your videos are really great. Thanks!
@NERDfirst
@NERDfirst 8 жыл бұрын
Thank you very much for all your comments! Really happy you liked my work :) I'm on mobile right now so I can't look at that frame at 7:19, but I bet it's just sloppy editing on my part! I try to maintain a pretty quick turnaround time on these videos so sometimes I overlook the smaller details... Oh, and regarding the keyboard - I don't know what's more embarrassing - The fact that it looks like that in the video or the fact that that _was_ actually cleaned prior to shooting. It's hard to get that stuff off without seriously scrubbing at it or using some sort of cleaning agent (which I wouldn't want to get near my computer anyway)...
@ricardo.mazeto
@ricardo.mazeto 8 жыл бұрын
lcc0612 About the frame, never mind. Just a comment. : ) About the keyboard, I had the same problem trying to take a pic of my notebook some time ago. the flash highlight the dirty. This isn't our fault. haha. Keep up the good work dude!
@NERDfirst
@NERDfirst 8 жыл бұрын
+Ricardo Mazeto Cheers! Thanks for all the support =)
@djsnowpdx
@djsnowpdx 8 жыл бұрын
Thank you! This was very informative. Perhaps in the future, add a table of contents to the beginning so we can find the solution to the problem immediately. Loved this video!
@NERDfirst
@NERDfirst 8 жыл бұрын
+Mark Davenport Hello and thank you very much for your comment! Glad to be of help! Good idea with the contents page, though it might be quite a bit of work to implement, especially with the volume of videos I'm producing. Like I said, great idea though. I might put it in action if this channel grows bigger and I can get help.
@Brumby0
@Brumby0 4 жыл бұрын
Well done, well presented.
@NERDfirst
@NERDfirst 4 жыл бұрын
Hello and thank you for your comment! Glad you liked the video =)
@nadundhananjaya5870
@nadundhananjaya5870 4 жыл бұрын
this video very helped for me! thank you!
@NERDfirst
@NERDfirst 4 жыл бұрын
You're welcome! Glad to be of help =)
@Varmint111
@Varmint111 9 жыл бұрын
Who on earth would dislike this? Good video!
@NERDfirst
@NERDfirst 9 жыл бұрын
Troy Thornton Thank you very much! Glad you liked the video =)
@Varmint111
@Varmint111 7 жыл бұрын
I love how google+ JUST told me you replied to this. Google+ has a.... memory leak :>
@NERDfirst
@NERDfirst 7 жыл бұрын
Heh, one that took a year to resolve! Hopefully you'll get this notification before next year =P
@buildbanner7976
@buildbanner7976 6 жыл бұрын
we have the same pfp holy shieet
@BogdanAndreiRO
@BogdanAndreiRO 5 жыл бұрын
@@buildbanner7976 lol.
@AshishPai1
@AshishPai1 9 жыл бұрын
Nice explanation. Thanks :)
@NERDfirst
@NERDfirst 9 жыл бұрын
Ashish Pai You're welcome! Very happy to be of help =)
@ColeslawProd
@ColeslawProd 9 жыл бұрын
When I saw the title "memory leak", I thought it was going to be about programs unintentionally letting out data, like HeartBleed.
@NERDfirst
@NERDfirst 9 жыл бұрын
Coleslaw Productions Haha, I don't even know if there is a name for that! But no, memory leaks are a different and dare I say more interesting problem.
@ColeslawProd
@ColeslawProd 9 жыл бұрын
lcc0612 It's called "underflow" with the method HeartBleed used.
@NERDfirst
@NERDfirst 9 жыл бұрын
Coleslaw Productions Yes, the heartbleed exploit is a buffer underflow, though what I meant is, I'm not sure if there is a term in general for "programs unintentionally letting out data" =P
@veronikav8436
@veronikav8436 5 жыл бұрын
you are awesome man! great explanation:)
@NERDfirst
@NERDfirst 5 жыл бұрын
Thank you very much! Glad you liked the video =)
@agsiar
@agsiar 3 жыл бұрын
thank you! I was having some questions about memory leaks that other videos didn't address directly like yours (like if the memory stays "locked away" even after program termination). thanks again, and have a nice day :)
@NERDfirst
@NERDfirst 3 жыл бұрын
You're welcome! Very happy to be of help =)
@pallavporwal
@pallavporwal 7 жыл бұрын
Very knowledgeable video!
@NERDfirst
@NERDfirst 7 жыл бұрын
Thank you very much! Glad you liked the video =)
@epowouid6715
@epowouid6715 8 жыл бұрын
Great explanation.
@NERDfirst
@NERDfirst 8 жыл бұрын
+DinomodeX Hello and thank you for your comment! Glad you liked the video =)
@Dineshkumar-kz9zq
@Dineshkumar-kz9zq 9 жыл бұрын
Good Video:-) It helps to understand memory leak
@NERDfirst
@NERDfirst 9 жыл бұрын
Dinesh kumar Thank you! Glad to be of help =)
@jigri_pokhri
@jigri_pokhri 7 жыл бұрын
Thanks buddy, this video helped me earn 5 points on my assignment.
@NERDfirst
@NERDfirst 7 жыл бұрын
That's great! Good job =)
@x6Blade9x
@x6Blade9x 4 жыл бұрын
Nice video man. I liked
@NERDfirst
@NERDfirst 4 жыл бұрын
Hello and thank you for your comment! Glad you liked the video =)
@Eddy.O
@Eddy.O 8 жыл бұрын
Good Job!
@NERDfirst
@NERDfirst 8 жыл бұрын
+Eddy O. Thank you! Glad you liked the video =)
@SKSK-qj8ql
@SKSK-qj8ql 5 жыл бұрын
Thank you for explaining it conspicuously! All my doubts regarding memory leaks are fading away now.. I have a query though, what I learned that for few programming languages GC process itself consumes lot of memory.. please shed some light on that too :)
@NERDfirst
@NERDfirst 5 жыл бұрын
Hello and thank you for your comment! I'm afraid I don't have very specific knowledge on how any programming language performs garbage collection, so I can't give you exact answers. Garbage collection certainly isn't free - It would require processing power and some amount of memory to trace and keep track of what memory locations are still in use and what can be cleared. However, unless very complex memory traversal methods are used, I don't believe garbage collection would be very memory heavy. CPU heavy maybe, but probably not memory.
@Mrwiseguy101690
@Mrwiseguy101690 7 жыл бұрын
Thanks for the video, very nice explanation. One question though, you mentioned garbage collection and how it should theoretically prevent memory leaks. However, in some cases, memory leaks are still possible. I know in Java memory leaks are possible with bad coding habits. My question is, how does garbage collection in Java determine if a reference to memory is still relevant to the program? And in what instances does the programmer have to account for clearing up memory?
@NERDfirst
@NERDfirst 7 жыл бұрын
Hello and thank you very much for your comment! I have to say I'm no expert at Java garbage collection - I've always treated it as a black box even when it's being run on a production server I'm responsible for, so I can't give you very precise information. Generally speaking, Java keeps track of all objects that have been created. Periodically, garbage collection runs by going through all the objects, and removing those that are no longer referenced by any part of the program. What this means is, as long as something _is referenced_, even if it's not actually in use by the code, garbage collection leaves it alone. So in the context of Java, if you want to keep memory use low, you'll have to retain as few references as possible. You can forcibly de-reference an object by assigning variables pointing to it to null.
@Mrwiseguy101690
@Mrwiseguy101690 7 жыл бұрын
Thank you very much for the explanation! I guess that's why IDE's give a warning when the code stores a variable that is never accessed.
@NERDfirst
@NERDfirst 7 жыл бұрын
No problem! And yeah, that's definitely one good reason to give a warning, though it might not be the main one - Additional variables generally affect code readability so that's another reason to take things out as well.
@bouteldjachamssedine798
@bouteldjachamssedine798 7 жыл бұрын
if i can like this video more than once , i will do it this is very good video , your explanation is so good thx for this video now i understand what does memory leak mean , and The reboot system Benefits :) best regards from algeria
@NERDfirst
@NERDfirst 7 жыл бұрын
Hello and thank you very much for your comment! Very happy to be of help! Glad you liked the video =)
@tryharderpls
@tryharderpls 4 жыл бұрын
Ive been trying to figure out whats wrong with my pc with no good answers or working solutions. I play alot of games and it seems lately that they all slowly degrade in performance the longer I play. On csgo and overwatch i can usually hold 144 then after 20-30 mins of gameplay i begin to drop to 120 then eventually dropping as low as 90. Was playing league yesterday and was at 40 fps briefly. I have updated drivers so i dont know what to do anymore
@NERDfirst
@NERDfirst 4 жыл бұрын
Hello and thank you for your comment! You might want to check if there are any other running programs in the background that might be consuming CPU cycles or RAM.
@jpgo5
@jpgo5 4 жыл бұрын
hahaha the intro noises "fwuue, fwue, fweuuuh". Funny choice.
@NERDfirst
@NERDfirst 4 жыл бұрын
Hello and thank you for your comment! Heh, it's fun making those!
@UnluckyKnave
@UnluckyKnave 9 жыл бұрын
Very nice description of memory leaks - sinister indeed! Would be nice to learn how to identify leaking processes using something like Performance Monitor :)
@NERDfirst
@NERDfirst 9 жыл бұрын
Peer Larson Thank you very much! It's not always easy to identify leaking processes... The tell-tale sign is of course high memory use, but some processes that use a lot of memory actually need it. Of course, programs that leak memory slowly may not show an unusually high amount of memory use until after many hours.
@lunardust201
@lunardust201 7 жыл бұрын
Ummm. Good but when a program ends the memory will always get returned back to the system. I've never seen a memory leak live beyond the process exiting
@NERDfirst
@NERDfirst 7 жыл бұрын
Hello and thank you for your comment! You are right - Modern operating systems keep track of memory allocation by programs, and free that memory when the program terminates. However, I guess it has to be mentioned that this isn't the core functionality of the operating system - It is done as a failsafe, not out of necessity. And even then, there are still ways to "lose" memory. Imagine if a process spawns another process and then loses the handle to it. As such, you couldn't close the other process. When the main process shuts down, the operating system does not necessarily know that the second process should also close - It may appear simply as a separately running program - And as such, memory can still be leaked that way.
@brooceree
@brooceree 2 жыл бұрын
This is a thorough explanation of what memory leaks are but what tools would you recommend to use as detection mechanisms for them as a Linux user?
@NERDfirst
@NERDfirst 2 жыл бұрын
Hello and thank you for your comment! Generally, if you're trying to identify memory leaks, you'll probably want to use tools like Memory Profilers to track memory use. I've never used one before, but here's one that looks pretty cool and comprehensive: github.com/koute/bytehound
@abdulmohymin9008
@abdulmohymin9008 8 жыл бұрын
"Because thats memory leaks at its finest" LMFAO ROFL XD!!!!
@jackclements2163
@jackclements2163 8 жыл бұрын
My ignorance has been diminished here, thank you from a cyber pleb!
@NERDfirst
@NERDfirst 8 жыл бұрын
+Jack Clements You are very welcome! Glad to be of help =)
@Near2Future
@Near2Future 3 жыл бұрын
I use MEM REDUCT. This helps with programs holding my ram hostage.
@11m0
@11m0 8 жыл бұрын
thanks bro!!
@NERDfirst
@NERDfirst 8 жыл бұрын
You're welcome!
@xlonewolfx999
@xlonewolfx999 9 жыл бұрын
Thanks mate.
@NERDfirst
@NERDfirst 9 жыл бұрын
Lone Wolf Cheers! Happy to be of help =)
@mohammadranjbaran1897
@mohammadranjbaran1897 2 жыл бұрын
Thank you.
@NERDfirst
@NERDfirst 2 жыл бұрын
You're welcome! Glad to be of help =)
@jaredvandyne3073
@jaredvandyne3073 7 жыл бұрын
Great video. Now where did you get that shirt!?
@NERDfirst
@NERDfirst 7 жыл бұрын
Hello and thank you very much for your comment! If you're ever in Singapore and looking for cheap (and potentially knockoff) clothing, go to Bugis Street, that's where the vast majority of my admittedly tiny wardrobe comes from!
@tapiwakay
@tapiwakay 8 жыл бұрын
Subbed
@HarveyXE
@HarveyXE 8 жыл бұрын
Thanks, dude! Rock on. In many languages when there is a return statement in a code block I have heard that garbage collection happens. Would you be able to confirm this?
@NERDfirst
@NERDfirst 8 жыл бұрын
+Harvey Magana Hello and thank you very much for your comment! When garbage collection happens is entirely arbitrary and depends on the creators of the particular language / compiler wish to implement it. I have no idea how popular programming languages are implemented I'm afraid, so I cannot confirm this. However, I can speculate, and I would say it makes a lot of sense for garbage collection to happen on return. After all, a lot of the time, variables that are declared in the scope of the function are no longer valid outside of it, and a return statement is a good way to know that those variables are now out of scope, and are thus candidates for garbage collection!
@HarveyXE
@HarveyXE 8 жыл бұрын
Awesome. Thanks!
@NERDfirst
@NERDfirst 8 жыл бұрын
+Harvey Magana You're welcome! Happy to be of help =)
@felixisdev
@felixisdev 9 жыл бұрын
Wait... You said that memory leaks from programs that close don't go away? Shouldn't any good kernel/memory allocation program automatically track and free all the memory the program allocated when it is closed? Again, I really don't see why memory leaks don't go away when a program is closed, you can even mod a C program to automatically free the memory you allocated when closed.
@NERDfirst
@NERDfirst 9 жыл бұрын
Felix K Hello and thank you for your comment! In modern operating systems, I'm confident that this is adequately handled. Thing is, if we are talking about a primitive or bare-bones operating system, then it's entirely possible for it to function correctly while not doing anything to clear up unused memory. In addition, there are also some cases where the termination of an associated process isn't a sufficient condition for garbage collection, for example memory shared by multiple processes. Again, I'm sure modern operating systems have their ways of figuring out what memory is still in use and what is not, but what I'm saying is, this could be a non-trivial task, and it's entirely possible that some systems don't implement it.
@mikegrisafi541
@mikegrisafi541 7 жыл бұрын
Very informative video. One question. Say I've experienced the type of leak where memory is lost and non-recoverable, to the point where process usage in task manager can only account for a small amount of the memory that is reported to be in use. Is there any practical solution for identifying the offending program?
@NERDfirst
@NERDfirst 7 жыл бұрын
Hello and thank you for your comment! This certainly sounds like an unusually complex example of a memory leak. In modern-day Windows, memory should be associated with the process that is using it, so it would be unusual if some memory is completely untraceable. In task manager, under the "Processes" tab, try and click on "Show Processes from All Users". Maybe the memory leak comes from a program not under the list unless you grant yourself admin privileges. If you still can't find any clues, you can also try downloading Process Explorer, which gives a much more in-depth view of all the running processes and services. I'm afraid none of these are surefire solutions and you'll still have to do a lot of digging, but hopefully this gives you a nudge in the right direction!
@johnchen469
@johnchen469 8 жыл бұрын
Excellent video, I have Windows 10 on my laptop and everytime I start my computer up it is fine , but I play a game or do some browsing on chrome the memory increases by about 10% even tho I have quit both apps. I found the main problem to be "system and compressed memory" in my task manager. Please help!
@NERDfirst
@NERDfirst 8 жыл бұрын
+John Chen Hello and thank you very much for your comment! Honestly, what you're describing doesn't sound too out of the ordinary! Is this impacting performance in any way? If it isn't, I think it's safe to ignore!
@johnchen469
@johnchen469 8 жыл бұрын
+lcc0612 well let's see in terms of performance the ram( memory) would increase or stay in the same position it was when an app was open even if I was no longer using it . This occurs for anything I open and eventually the ram would bike up to the point where it's about 80-90%. This process can even speed up depending on how many apps you have running. Like I said, the main culprit seems to be "system and compressed memory" in task manager. I have tried several solutions such as registry hacking and Turning off "show tips about Windows" and even updated all my drivers and have checked for malware,, but nothing seems to work.
@NERDfirst
@NERDfirst 8 жыл бұрын
+John Chen To clarify, when I say performance, I mean - Does your system slow down or exhibit any other undesirable behavior when this happens? Thing is, a lot of the time, when we look at the numbers, it may tell us things that seem to indicate a problem, but if there's one thing I've learnt, is that if it's not really causing a problem, we shouldn't really sweat the details. Also, you're on Windows 10, which is an operating system I have no experience in. I'm still on Windows 7, which doesn't seem to have the "system and compressed memory" entry as you describe. Based on my googling it seems that you have tried a lot of the common solutions out there, so I'm afraid I really don't have any more ideas! Sorry about that.
@melsaied101
@melsaied101 7 жыл бұрын
Thank, I really like it
@NERDfirst
@NERDfirst 7 жыл бұрын
You're welcome! Glad to be of help =)
@kcvinu
@kcvinu Жыл бұрын
Thanks for this video. How do I check if my application cause a memory leak ? DrMemory is not working for me.
@NERDfirst
@NERDfirst Жыл бұрын
Hello and thank you for your comment! This isn't really a use case I'm familiar with. Ultimately without access to the source code and/or debugging tools, you couldn't be sure whether you actually have a memory leak or if memory is simply reserved for future use.
@fickyzaidmukhlisin2065
@fickyzaidmukhlisin2065 7 ай бұрын
Yo sir, i just upgrade to windows 23h2 and found memory leak on my explorer.exe. my quastion is posible that memory leak just strike my leptop and not in another leptop in the shame version of windows instalasion?. And if you have solution of my memory leak plase help me 😔. Thankyu sir, oya sorry my English not good
@NERDfirst
@NERDfirst 7 ай бұрын
Hello and thank you for your comment! Memory leaks are typically not fixable by an end-user. However if this is an operating system issue, it's unlikely that one computer experiences it and another doesn't. At any rate, you can restart your computer to clear a memory leak. Check to see if you have any other software or add-ons to explorer that may be causing this, and update or uninstall those, and see if it helps.
@roen77
@roen77 7 жыл бұрын
i like the explanation on 5:40
@NERDfirst
@NERDfirst 7 жыл бұрын
Thank you! Happy to be of help =)
@mattwallace963
@mattwallace963 8 жыл бұрын
Hey Ive had problems with my computer blue screening, almost all my games crashing among other things. I was hoping you could help me with this its really annoying and all this happened after upgrading ram and replacing my video card.
@NERDfirst
@NERDfirst 8 жыл бұрын
Hello and thank you for your comment! Since you've made changes to your hardware setup, that might very well be the cause, and may not be particularly easy to solve. First, if possible, check your drivers to see if they are out of date, or no longer match your hardware, and update them accordingly. Hopefully this solves the problem. If not, you may have to verify that the new hardware components are properly seated and are receiving enough power. Beyond this I really can't say (I'm not a hardware person!), so if you still have difficulties, you might want to contact a repairs shop.
@mattwallace963
@mattwallace963 8 жыл бұрын
Well im not much of a hardware person either so I took it to office depot and they put all the components in and said it was fine a couple of take backs later but it still does it Ive made sure ive updated my drivers and this still happens
@NERDfirst
@NERDfirst 8 жыл бұрын
Hmmm... okay, two more possibilities: 1) Do you trust the people who have looked over the hardware? Do they have a good track record, or is it possible that they don't really know what they're doing? I would suggest getting a second opinion if it is possible to do so. 2) Something else might've gotten damaged Repeated opening of the chassis or reseating of components might have caused some hairline crack or other damage in them. They'll still run fine under normal circumstances, but once things start to heat up and expand, this may cause a problem. Unfortunately, such issues might not be very easy to diagnose. Again, I think you should speak to someone with the hardware expertise, and preferably with the time to sit and watch until the failure happens.
@mattwallace963
@mattwallace963 8 жыл бұрын
lcc0612 well the guy who did it went to college for computer engineering (dont ask me how I know) and if I do have a hairline crack would I be able to get a refund or replacement?
@NERDfirst
@NERDfirst 8 жыл бұрын
Hello again! Sorry for the late reply. Had a busy couple of days! To be honest, a degree in something doesn't say a lot in one's competence of work ethic. If I was seriously looking for someone to fix my computer, I would pick a person with experience and positive customer testimonials. Again, I recommend looking for a second opinion. If there are cracks, you can try and ask to see if you can be compensated somehow. Expect a chain of inquiry though, subject to the store's terms and conditions. Alternatively if the hardware is still under warranty, check the warranty terms to see if the damage is covered (some warranties actually don't cover things like rough handling and water damage). If it is, you could get a replacement that way as well.
@tapiwakay
@tapiwakay 8 жыл бұрын
I just got school'd. Good video. Easy to understand.
@NERDfirst
@NERDfirst 8 жыл бұрын
+tapiwakay Hello and thank you very much for your comment and subscription! Very happy to be of help =)
@imfacerollfanpayordie7305
@imfacerollfanpayordie7305 7 жыл бұрын
BRO NEED HELP !!! my ram is 2gb (1.45usable) but my pc unexpectedly shutdown and it wont turn on after aa hour it turned on , but my pc is tooo slow and i look at my task manager its only 744 mb that should be 1.45gb ! pls help bro need answer ASAP
@NERDfirst
@NERDfirst 7 жыл бұрын
Hello and thank you for your comment! This doesn't sound like a memory leak at all. The memory listed as "Available" changes as programs run. The more programs you have open / the more intensive they are, the further this number will drop. Incidentally, 2GB of RAM is _extremely_ little for a modern computer - A web browser can easily consume 500MB-1GB of RAM under normal use, leaving little left for other processes. Given how modern software and websites are becoming more and more taxing, a real solution that addresses the root cause would be a RAM upgrade.
@TheChaoticWolf
@TheChaoticWolf 7 жыл бұрын
Nice video
@NERDfirst
@NERDfirst 7 жыл бұрын
Thank you very much! Glad you liked the video =)
@TheBeastGames
@TheBeastGames 4 жыл бұрын
Had a leak that wouldn't resolve after shutting windows down and leaving off for a minute. Ram is pegged at 97% and hard disk is at 100%.
@zanderhenriksen6776
@zanderhenriksen6776 4 жыл бұрын
How much RAM do you have, and opening taskmanager what program is using most of it? It might not even be a leak { just Windows being Windows and eating RAM as usual}
@NERDfirst
@NERDfirst 4 жыл бұрын
Hello and thank you for your comment! If it persists after a restart, it's probably not something as simple as a memory leak. Either that, or it's something that's restarting with your system. Think back to the time it started happening and see if you've installed any programs around that time that might be causing this.
@johnmoruzzi2808
@johnmoruzzi2808 6 жыл бұрын
the mod was automaticly deleted for memory leacking too
@AtlantaFixers
@AtlantaFixers 7 жыл бұрын
excellent
@NERDfirst
@NERDfirst 7 жыл бұрын
Thank you! Glad you liked the video =)
@johnmoruzzi2808
@johnmoruzzi2808 6 жыл бұрын
and it was after minecraft forge api 1.12.2 memory leacked too
@dma67111
@dma67111 2 жыл бұрын
wow thank you.
@NERDfirst
@NERDfirst 2 жыл бұрын
You're welcome! Glad to be of help =)
@prazetruewolf3399
@prazetruewolf3399 4 жыл бұрын
Do this happens for ps4's
@NERDfirst
@NERDfirst 4 жыл бұрын
Hello and thank you for your comment! This can happen to any kind of system with processing and memory to be honest! The most classic example of this is the simple controller in a lift. So yes, definitely possible on a games console.
@AlexTechie
@AlexTechie Жыл бұрын
8:20: wouldn't a system restart be required if it were a true memory leak?
@NERDfirst
@NERDfirst Жыл бұрын
Hello and thank you for your comment! It really depends on the context, as well as the capabilities of the underlying operating system. Most operating systems today are smart - By using techniques like associating memory allocation with the processes that actually use them, the OS can effectively guess at what memory is not needed and to free them. Having said that, nothing beats a restart once in a while!
@AlexTechie
@AlexTechie Жыл бұрын
@@NERDfirst Thank you!
@dulcecaramelo23
@dulcecaramelo23 7 жыл бұрын
can memory leak cause a BSOD?
@NERDfirst
@NERDfirst 7 жыл бұрын
Hello and thank you for your comment! It's certainly possible under certain conditions, though it wouldn't necessarily be easy to connect the two. If you've been getting BSODs, note down the error code (shown somewhere near the middle of the screen) and google that. That tends to give you more information about what is going on, as well as an indication of some potential fixes.
@johnmoruzzi2808
@johnmoruzzi2808 6 жыл бұрын
I just emptyed my trash folder by pressing empty trash *Runds Faster Now
@NERDfirst
@NERDfirst 6 жыл бұрын
Hello and thank you for your comment! Emptying trash doesn't have anything to do with memory leaks! The word "memory" in this context refers to your computer's RAM, not its storage. Clearing trash frees up storage, not RAM.
@gabehcuodsuoitneterp203
@gabehcuodsuoitneterp203 2 жыл бұрын
Have you ever lived in Australia?
@NERDfirst
@NERDfirst 2 жыл бұрын
Hah, sounds like a 20-questions question! No, I have not.
@TalesKursped
@TalesKursped 3 жыл бұрын
So, that's how gms gets crashed all the time ._.
@NERDfirst
@NERDfirst 3 жыл бұрын
Hello and thank you for your comment! This isn't necessarily the only reason why programs crash. Sometimes bugs or other environment-related causes may also lead to crashes.
@TheRafelito19
@TheRafelito19 8 жыл бұрын
memory leaks are due to poor development. This occurs when developers forget to delete objects that are not necessary.
@NERDfirst
@NERDfirst 8 жыл бұрын
+Rafael Santana Hello and thank you for your comment! While this is true for the most part, I personally wouldn't want to necessarily blame a coder. Sometimes there are situations when deciding when to deallocate memory can be non-trivial (eg. In multi-threaded applications). Plus, when things get on a larger-scale, it's always harder to track (just like how it's impossible to guarantee zero bugs on large projects, even if it's very polished and well-written).
@TheRafelito19
@TheRafelito19 8 жыл бұрын
True. Also lengues like java make things even worse with its a garbage collector. That's why android requires more ram than ios.
@NERDfirst
@NERDfirst 8 жыл бұрын
+Rafael Santana I wouldn't be so quick to vilify the presence of garbage collectors though. I think languages that make things easy for an amateur programmer is good in the context of education. Even beyond that, it's not necessarily bad. Avenues exist for the tuning of garbage collection parameters. If you know what you're doing, it can work flawlessly with minimal negative impact.
@songs4enjoy
@songs4enjoy 6 жыл бұрын
You are wrong again. If the program completes, the memory allocated for that program is complete freed
@NERDfirst
@NERDfirst 6 жыл бұрын
Hello and thank you for your comment! While it is true that modern operating systems will free up the memory allocated by a program that has terminated, note that this is not strictly a must. Operating systems that do this need to have additional mechanisms to keep track of what program has allocated what memory. A barebones operating system will not do this. Nevertheless, from a programmer's point of view, it is not safe to rely on operating systems taking care of this for you. In multi-processing situations for example, multiple instances of programs may access the same memory. Knowing the right time to clear it is challenging.
@songs4enjoy
@songs4enjoy 6 жыл бұрын
As far as I know, all operating systems that are serious enough to be used for production deployment does this, even in multi core-multi processor environments. One of the basic tasks of OS is process management
@NERDfirst
@NERDfirst 6 жыл бұрын
Indeed! As I've said, you're unlikely to find any usable operating system today that doesn't do that. But it remains that operating systems don't _have_ to do this. It's an additional feature and so programmers should still remain aware of memory management.
@kraken3793
@kraken3793 9 жыл бұрын
65% of my 8GB's of RAM is being used whilst only google chrome is running, only using around 0.300 GB's of RAM :c can anyone help me?
@NERDfirst
@NERDfirst 9 жыл бұрын
Jake Edwards In task manager, click "Show Processes from All Users" and see if you can identify the culprit there. If you just want a quick fix, restarting your computer will probably do the trick!
@kraken3793
@kraken3793 9 жыл бұрын
nothing is showing in processes as being that demanding. and when i restart it takes about 5-10 minutes, then the problem is there yet again. i think its just faulty ram :/
@NERDfirst
@NERDfirst 9 жыл бұрын
Jake Edwards Hmmm... Bit strange though. I would've expected faulty RAM to create more trouble than just showing up as in use. In fact I would've expected it to render your system unbootable. Of course, if you want to diagnose this and happen to have spare RAM lying around, you could always swap sticks of RAM around and see if the problem persists. EDIT: Though I still feel like the issue you're facing is more likely in software than hardware. Since your computer is bootable, you can try various diagnostics tools (I believe RAM diagnostics tools can also check to see if your theory is correct). You might also want to do a virus scan of some sort. Maybe some malware is eating up RAM but hiding itself from showing up in task manager.
@kraken3793
@kraken3793 9 жыл бұрын
My PC Takes 3 times to boot correctly without freezing this problem has been persistent after changing the graphics card and hard drive and also reinstalling windows, I'll get back to you when I get to try some new RAM, thanks for all the help ^_^
@NERDfirst
@NERDfirst 9 жыл бұрын
Jake Edwards You're welcome! Sorry I couldn't be of more help - Hardware isn't really my thing! Consider running diagnostics software if you have the opportunity. Might save you the trouble of cracking your case open. Like I said, I'm not really a hardware person, so I try to avoid that if I can! Either way, best of luck to you. Hope you can get your RAM troubles resolved soon =)
@jansiranibdumtcs
@jansiranibdumtcs 6 жыл бұрын
aaaaaaaaaaaaasome..................
@mageddie5974
@mageddie5974 8 жыл бұрын
Forward to 5:10 if you dont wanna feel treated like a braindead 13 year old
@NERDfirst
@NERDfirst 8 жыл бұрын
+Mag Eddie Hello and thank you for your comment! Sorry that the first part of the video was too simple - I've learned never to assume viewers have a good and complete understanding of the fundamentals, which is why I tend to cover them at the beginning. Thank you for the timestamp - I think quite a few viewers will find that useful.
@artes.impias
@artes.impias 3 жыл бұрын
Mammary leaks
@NERDfirst
@NERDfirst 3 жыл бұрын
That one, I can't help you with =P
@gajanangaikwad8934
@gajanangaikwad8934 2 жыл бұрын
Please don't stretch topic so much. I was listening your video. I just want to know the what is memory leak an can I resolve. But in this video you have more stretched the topic. So it becomes me more boring. I am really sorry. But please don't mind. It may help your videos more better
@NERDfirst
@NERDfirst 2 жыл бұрын
Hello and thank you for your comment! I'm sorry you've had a bad experience! There's a lot of background information required to properly understand a subject, and it doesn't help that this channel is largely geared towards beginner computer scientists, so there's a lot of explanation involved. If you're looking for a quick fix, just restart your computer.
@balakishanrenjarla2377
@balakishanrenjarla2377 7 жыл бұрын
thx for you video the memory leak is fake tutorials
@NERDfirst
@NERDfirst 7 жыл бұрын
You're welcome! Happy to be of help =)
@balakishanrenjarla2377
@balakishanrenjarla2377 7 жыл бұрын
thnxz
@joelmulder
@joelmulder 8 жыл бұрын
Great explanation!
@NERDfirst
@NERDfirst 8 жыл бұрын
+Joel Hello and thank you for your comment! Glad you liked the video =)
Garbage Collection (Mark & Sweep) - Computerphile
16:22
Computerphile
Рет қаралды 235 М.
JavaScript Memory Leaks and How To Fix Them
14:58
Software Developer Diaries
Рет қаралды 23 М.
Final muy inesperado 🥹
00:48
Juan De Dios Pantoja
Рет қаралды 18 МЛН
小女孩把路人当成离世的妈妈,太感人了.#short #angel #clown
00:53
터키아이스크림🇹🇷🍦Turkish ice cream #funny #shorts
00:26
Byungari 병아리언니
Рет қаралды 25 МЛН
Solving Java Memory Leaks
45:06
Oracle Developers
Рет қаралды 31 М.
Memory Leakage as Fast As Possible
5:00
Techquickie
Рет қаралды 530 М.
Troubleshooting Memory Problems in Java Applications
42:37
What is virtual memory? - Gary explains
11:28
Android Authority
Рет қаралды 296 М.
Rust and RAII Memory Management - Computerphile
24:22
Computerphile
Рет қаралды 217 М.
Diagnosing memory leaks in .NET apps
37:32
dotnet
Рет қаралды 33 М.
What happens if you connect Windows XP to the Internet in 2024?
20:35
CPU Pipelining - The cool way your CPU avoids idle time!
15:25
0612 TV w/ NERDfirst
Рет қаралды 10 М.
This Is How Rust Stops Memory Leaks
5:53
Low Level Learning
Рет қаралды 156 М.
What are memory leaks? (and how to detect them)
9:23
Double D
Рет қаралды 2,8 М.
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 3,6 МЛН
🔥Идеальный чехол для iPhone! 📱 #apple #iphone
0:36
Не шарю!
Рет қаралды 1,3 МЛН