Thanks for the explanation; saved me a lot of time. An entire 2 hour lecture on this wasted. The teacher could've just explained it short and sweet like this. You're a life saver. Keep up the good work!
okay yeah, that part confuse me a lot like in a Modern OS like windows 10, wouldn't it be super retarded for the OS to not free that memory space after the program ended? maybe he is speaking for programs that are made in Micro Controllers where there is No OS to handle that? yep i need explanations
@@Elinzar its not a problem for windows as it clears the allocated memory when the process ends, but in a complex program if you dont clear up the memory when its not needed anymore the program may run out avaible memory that could be used for other things and your program will use memory pointless. Yeah if there is no OS that handle this problem you always need to clear the memory yourself or else you really run out of it.
Surprises are everywhere,last weeks I had an interview after one year.so the question was the same..what is memory leak.and What is Pointer..I was good about their main task their platform, but knocked down by this question.Thanks to touch the point.It really worth to know.Great job...
There a lot of profilers for complex application for auto memory leak detection - Valgrind, Deleaker, Visual Leak Detector or smart pointers - also good choice :)
So if i transfer this idea to a videogame: is it a) the game still blocks RAM after i close it Or b) the game blocks memory while its running, so secondary tasks get slowed down? Or c) something else?
But doesn't Java and other modern languages have a garbage collector that frees up memory from variables that are no longer in use ? if we still have to write statements like *delete this.var;* then why have a garbage collector ?
It doesn't need a window restart, but what I found is when a program terminates (gracefully or crash), all modern operating systems like windows claim back the memory. stackoverflow.com/a/44587308/2276036
this does not explain anything and what a waste of time watching this video. its like this ( what a water is? a water is what we drink called water) ... none sense and if there is more dislike to give i will give it the max dislike ever.
Do you want to learn technology from me? Check codebasics.io/ for my affordable video courses.
This cannot be explained any more clearer. Excellent video.
👍😊
Thanks for the explanation; saved me a lot of time. An entire 2 hour lecture on this wasted. The teacher could've just explained it short and sweet like this. You're a life saver. Keep up the good work!
once the process ends, the all the acquired memory is returned...please correct it at 2:20
okay yeah, that part confuse me a lot
like in a Modern OS like windows 10, wouldn't it be super retarded for the OS to not free that memory space after the program ended?
maybe he is speaking for programs that are made in Micro Controllers where there is No OS to handle that?
yep i need explanations
@@Elinzar its not a problem for windows as it clears the allocated memory when the process ends, but in a complex program if you dont clear up the memory when its not needed anymore the program may run out avaible memory that could be used for other things and your program will use memory pointless. Yeah if there is no OS that handle this problem you always need to clear the memory yourself or else you really run out of it.
@@ynk69 thanks for clearing my doubts
❤️❤️i love your chennal .. sir you are doing so good work .. i love it .. thanks you sir for helping students and teaching us of free of cost ...
Genius reference
You mean W=&water...
W*
Great explantion! Deserve a sub.
I am happy this was helpful to you.
Surprises are everywhere,last weeks I had an interview after one year.so the question was the same..what is memory leak.and What is Pointer..I was good about their main task their platform, but knocked down by this question.Thanks to touch the point.It really worth to know.Great job...
Thank you the tap example was awesome.
Thank u sir for making the concept so clear..
Amrutha I am happy you liked it 👍
Lol at the start of your video
Thank you so much!!! So easy to understand now! Very good explanation!!
Love the ending. Good video
best intro i've seen. I'm subscribing for sure
Very good explanation, thanks
There a lot of profilers for complex application for auto memory leak detection - Valgrind, Deleaker, Visual Leak Detector or smart pointers - also good choice :)
Hi I have one doubt can u reply
:(
Thanks bro i appreciate your explaining
This was a very good video! Thanks for making it!
Mac, I am glad you liked it
Thanks you explained it well
Very well explained
Glad it was helpful!
Wowww well explained SIR
Amazing video
great explaination
🤗👍
Thanks for explaining this to me.
good explaination
Great Video!
So if i transfer this idea to a videogame: is it
a) the game still blocks RAM after i close it
Or
b) the game blocks memory while its running, so secondary tasks get slowed down?
Or c) something else?
From what I gather it'd be B.
hahaha luv it
But doesn't Java and other modern languages have a garbage collector that frees up memory from variables that are no longer in use ? if we still have to write statements like
*delete this.var;*
then why have a garbage collector ?
Yeah but this is C++
Indian youtube saves the day again!
All memory in a program is deallocated after it is terminated.
All I hear is "mammary".
thank you G
when will the memory be free again? After windows restart?
When you shutdown your pc, when your pc is shutdown it resets the hardware
It doesn't need a window restart, but what I found is when a program terminates (gracefully or crash), all modern operating systems like windows claim back the memory. stackoverflow.com/a/44587308/2276036
@@oneein9183 I guess they have good loyers ^_^
can we use SOAP services in Python?
Yes
Not convincing, probably might have to learn further and come back
so they're stuck in the ram >:D
Nice
Indians don't exist. That's just one guy with a funny accent who creates all the content
Nice intro lol
this does not explain anything and what a waste of time watching this video. its like this ( what a water is? a water is what we drink called water) ... none sense and if there is more dislike to give i will give it the max dislike ever.
Woy3 jon oo