The best video on memory management that I have come across. It gives a clear insight on how to write memory efficient code in Java. Will appreciate if you can make a video on streaming and how it works internally. Thanks a ton.
@GAGamingLegends3 жыл бұрын
This video deserves more likes and views 🙏
@techy07163 жыл бұрын
Best illustrated concept of memory management in java
@TechWithChetann4 жыл бұрын
Great explanation. I read that from Java 8 onwards the permgen has been removed. And instead of permgen we have a metaspace which is part of the native memory (which is not a heap memory) which is managed by the OS.
@WeWalkAI5 жыл бұрын
Great video. JVM understanding is important not only for interviews but far beyond interviews.
@praveenautomationinterview23676 жыл бұрын
Hi Naveen, as always this is nice explanation!! Can we say that :Java Stack memory=Class (method) area+Native Method Stack+Variables memory area
@akado56636 жыл бұрын
Thanks a lot Naveen. That was a Video which I was looking for it but never could find. Thanks for the excellent explanation.
@ABAutomationHub2 жыл бұрын
Best content on memory management..Thanks for sharing!
@naveenautomationlabs2 жыл бұрын
Thanks glad you liked it. Please refer the latest video on java memory management
@nandagopal375 Жыл бұрын
Thank you provide valuable information about Java memory management 🙏🙏🙏
@jalalzoon44476 жыл бұрын
Sir you have clear all concepts regarding java memory management. Thanks for your such great efforts in making video.
@rachanabanerjee46965 жыл бұрын
One of the best tutors you are Naveen.
@naveenautomationlabs5 жыл бұрын
thanks for watching it @Rachana
@ananthasubramanian73554 жыл бұрын
Very good video....!! Crisp and Clear...!!! Thank you...!!
@avishsharma34043 жыл бұрын
Great Explanation , this is something that I found deepen understanding of memory management. Thanks Naveen
@_________________4044 жыл бұрын
Thanks, very interesting video. I just wanted to see what is the diference between local and static variable storage but I've learned much more.
@abhijeets65934 жыл бұрын
Naveen, i want to add one point, permanent Generation is part of heap memory not stack memory as you said in video(28:03)
@amanokuba46884 жыл бұрын
Nice explanation, thank you...As for the back ground noise, you could add a faint background music to cancel and soften the high pitch noise....
@saranthoughts98268 ай бұрын
I am always follow your channel for java related , you rocking pls keep doing the good work. great sir!❤
@prabhatpatnaik2054 жыл бұрын
really it is very nice video, after read this, I clear my concept on memory heap and stack. thank you navin.
@niloybasu65083 жыл бұрын
Awesome explanation!!! Terrific!! Thanks a lot!!!
@MrSpraveennaika2 жыл бұрын
My first nice video on Memory Management 👌👌
@parikshitraghav75435 жыл бұрын
I Like your efforts Naveen, Very very useful video for interview (I was asked these questions in mine!).
@Priya1_1234 жыл бұрын
Great and deep explanation and information in detail . Better than all other videos from other youtube channels.. Just a small suggestion, if the diagram is ready then this video can be covered in bit less time.Awesome video. Thanks a ton
@kunalsinha59423 жыл бұрын
Thanks Naveen for such a informative video. I have a follow up question below:- If we create any Collection I.e Arraylist , Hashmap etc .. where is it created .. in Heap or Stack?Since collections stores the the object references rather than physical objects..How does it manage the whole process?
@saikiran23562 жыл бұрын
Kutha chimpi para dhengaw anna.... Mid nyt kuda chaala interesting ga chusaa
@Saravanans-q4e9 ай бұрын
Great knowledge you having sir. Thanks for this .
@jaserq4 жыл бұрын
Just thank you.. i relieved finally.. i ve been seaching this for years !!!
@yashasvirallabandi90702 жыл бұрын
Great explanation. Thank you!
@ramyapalani67605 жыл бұрын
Hats off sir..very good explanation.. Pls continue this topic to cover garbage collection..
@bollywoodtrailers79134 жыл бұрын
It was really a very explanatory session. Got all the concept by this vesio
@SeadoooRider4 жыл бұрын
I really appreciate your effort Naveen. Thanks for video :)
@faisalsakib98106 жыл бұрын
Thanks for such nice videos....can you please tell me after execution of a method... where the result is stored.???
@meditationandrelaxationmus7415 жыл бұрын
never found so detailed.... thanks a ton!
@shipraparihar69635 жыл бұрын
Thanks Naveen for this amazing video. It is full of information and explained very clearly.
@asimghosh57373 жыл бұрын
Very nice👍👍👍 it's really helpful.
@GauravSingh-ov9mh6 жыл бұрын
Great video. Just had a couple of query : 1. You said permgen is part of stack memory but you displayed them on separate boxes so that was confusing. 2. You said stack size is very less compared to heap memory. but than what about Permgen (or now Metaspace) . Is metaspace is less compared to heap? Thanks!
@jeet_upadhyaya3 жыл бұрын
Thankyou for this video Naveen!
@saraswathib98895 жыл бұрын
Small correction in your lesson When the survivor space S0 is filled, it automatically goes to Old Generation after the minor GC. It will not go to S1.
@dilipp0076 жыл бұрын
One of the survivor memories will always be free..
@swapnilgupta60286 жыл бұрын
Thank you so much Naveen but one Question, Cam you tell from which book you took reference ?
@nikhilkhatri14174 жыл бұрын
Very informative and nicely presented. Just the keyboard noise is lill irretating. Please upload any video on Class loading with context of JRE.
@JaikratSinghTariyal6 жыл бұрын
Very good explanation. But this video is up to Java 7. Java 8 on wards, we dont have pergem concept at all. Its Metaspace now.
@MrVinnap6 жыл бұрын
Jaikrat Singh Tariyal yes ... I was about to ask this questions. Now pergen is removed completely...
@aritrabhattacharya77222 жыл бұрын
This was really helpful. Thanks a lot.
@madhulikaghosh38766 жыл бұрын
Thankyou Naveen. This was so informational
@sourabhhsethii72923 жыл бұрын
Thanks for sharing this knowledge!
@sreevanireddy13254 жыл бұрын
Every Nice explanation sir, it's very clear to understand. Thank you sir.
@ahmadreza75083 жыл бұрын
Thank you so much for creating such a helpful video
@nikhilgupta65646 жыл бұрын
Very well explained .. Concise and clear .. Pls keep uploading more videos on JAVA
@dinkarinjosh5 жыл бұрын
Any suggestion of a book for further reading and understanding this?
@shijocg3 жыл бұрын
Very informative. I have one doubt why the survivor memory classified as two, both have same usage and purpose?
@chigullapallysaiprasad63956 жыл бұрын
Naveen ji extraordinary teaching thanks a lot for sharing your great knowledge please help in sql concepts as well.
@AshutoshSingh-uc6nk3 жыл бұрын
Thankyou sir for this 🔥🔥🔥 explanation
@arvindmv71663 жыл бұрын
Very informative, but I was looking for information regarding MetaSpace.
@namangoyal55784 жыл бұрын
Great Work, I searched so many videos but this is my final stop !! Appreciate the efforts you did to make this :) One doubt : Is permanent generation the part of Stack Memory ???
@RoshniGupta-bl6ex4 жыл бұрын
Hi Naveen, Very well explained! Can we get the pictorial view of this concept as explained in the video?
@naveenautomationlabs4 жыл бұрын
Thanks for watching! But what do you mean by pictorial view of this concept?
@sanjanapanwar38449 ай бұрын
method area is inside the permanent generation, so can we say that now method area is inside the metaspace
@livefantastic24426 жыл бұрын
very nice video. one question i had, corresponding to each thread is there a separate stack bcoz in case of multiple threads multiple functions may execute simultaneously thus each method need a method block. Though in a particular thread only one method will execute at a time.
@khajazakiuddin9315 жыл бұрын
u really make it simple naveen... 😊...i still like ur amazing diagrammatic representation of concepts which make things really easy to understand...kudos bro... keep going...👏🙂
@sureshgply6 жыл бұрын
Very good explanation for Memory management. Thanks Naveen
@supriyakumari85523 жыл бұрын
great information, fine details. :)
@bopon40904 жыл бұрын
Awesome video. I have one question do i need to run manual gc?
@dupindersingh15993 жыл бұрын
Question 1: At the time of Major GC, will the JRE do only Major GC ? or JRE will perform its normal tasks and in parallel Major GC will perform Question 2: When you said we don't have to do the Major GC frequently, is there any code we write explicitly for GC? I think JRE itself take care of the Garbage collection.
@arijitbasu43973 жыл бұрын
Such a quality content ❤️
@nalithamsaisudha2 жыл бұрын
great explanation 👏
@gyanranjan9425 жыл бұрын
Hi Naveen, Thanks for the explanatory video. It's really helpful. Just a small doubt, somewhere I read that SCP will get memory inside method area, you told it would get memory inside Heap... If you can explain more about SCP it would be helpful. Thanks again ☺️🙏
@ayyapareddykandula84815 жыл бұрын
Excellent sir, thanks for the video
@mallikarjun-shurpali96982 жыл бұрын
Nice explanation sir..
@nishant22422 жыл бұрын
Great explanation
@shankardayal69283 жыл бұрын
PermGen was part of Heap upto java 8. From java 8, it had been removed.
@RanjithKumar-qj9mn4 жыл бұрын
Thanks Naveen . I have a question is premgen is also part of stack memory
@RajanGupta-jf5mn4 жыл бұрын
Nice Naveen, very informative. :) by any chance any plans for a video explaining the metaspace concept also?
@AhmedKhaled-he9mf3 жыл бұрын
very very nice explain I become subscriber because this video
@narainsankar3 жыл бұрын
Great explanation..
@vijayragavendran56065 жыл бұрын
This is perfect! Great job man ! Thanks a lot!
@zajuzam2 жыл бұрын
Nice Explanation
@seshareddy72546 жыл бұрын
Hi Naveen, Can you please make an video on difference between String,String Buffer and Sting Builder (Differenace bewtween Mutable and immutable )
@svecww3 жыл бұрын
Thanku sir can u please share if u have any notes?
@ThishK6 жыл бұрын
Great one!! One question to you Naveen. Do you know how to perform test for the product (Web based Game) where DOM element is hidden. I think all the DOM element is under the CANVAS?
@princekumar7646 жыл бұрын
one word....AWESOME
@prapasup5 жыл бұрын
Thanks much for sharing the information.
@gyaraganesh70205 жыл бұрын
sir , your explanation is very nice and make more videos thanking you very much sir
@nalinaksheepanda15965 жыл бұрын
Hi Naveen, Can you please cover topic for Contract in HashMap and Dependency Injection in Java.
@somias15754 жыл бұрын
Hi Naveen, one query on method block. You said one method at a time is given space inside it. But let's say we have a main method which calls another method inside it. How is this scenario handled?
@mathiyarasu.tarasu63665 жыл бұрын
Let's say we given 1 gb to 2 gb for JVM. How much memory will take each component?
@parwana10003 жыл бұрын
Bow down to u ...TY so much
@mugeeshhk3 жыл бұрын
As per my understanding, 1. So at a time, one of the survivor space is always empty ? this correct ? 2. Objects that are survived after many cycles of GC, are moved to the Old generation memory space ?
@kamnijaiswal80604 жыл бұрын
Permanent Generation is also part of Heap memory.
@ArjunArjun-bi2df6 жыл бұрын
hi naveen nice video...its very help full to understand the memory concept....... is there any hidden memory concept in java
@shashankjakhmola62262 жыл бұрын
If Test t = new Test() is defined as instance variable rather then defined inside some method like m1 method. In that case I understood that new test() will be creating one object inside the heap. But where the reference will be stored as it is not local variable it is instance variable ? And stack will store local variable and local references as much as i know?
@aritrabhattacharya77222 жыл бұрын
Hello Sir, I have some questions: So where exactly are new Strings stored (in heap or in stringpool directly)? And where is the stringpool located then (method area of permgen or heap)? There has been some changes in Java 7 and 8 to the permgen section. When does a string automatically move to striingpool provided intern methos is not called. Thanks in advance :)
@SureshKumar-ul5ev5 жыл бұрын
Custom immutable store into which part of memory?
@ShubhamGupta-du6ie2 жыл бұрын
Hi Naveen, How to perform GC for a particular object
@rajajain7863 жыл бұрын
Hi Naveen, just want to know each application create own JRE on server memory? also what is difference between JVM and JMM?
@ankit99538178515 жыл бұрын
What if the reference variable is a class instance variable and NOT a method local variable? I believe in that case, the reference variable is stored along with the object of that class and NOT on stack. Please correct me if I'm wrong.
@pragadees246 жыл бұрын
Very Good One:) got some more Idea about JRE.
@nikitaojha87683 жыл бұрын
Can you please explain the difference between java 7 and java 8 memory management .
@GurubabuJampala5 жыл бұрын
Memory Pool (Constant Pool) memory is available in Young Generation or Old Generation?
@shashankjakhmola62262 жыл бұрын
As much as i have a knowledge till now permanent generation is separate memory are and stack is separate memory area . But in this video somewhere at the end you are saying parmanent memory is part of stack memory which is making me confused can you please explain on that ? Is both separate memory area or parmanent is part of stack. ?
@shashankjakhmola62262 жыл бұрын
Memory leak will come on only in heap area right? If yes then in that case what we need to do in that case?
@ramprasath47884 жыл бұрын
Clearly explained ....
@sancharidas75323 жыл бұрын
What are JRE classes? The predefined classes or the ones which I have made ?? Someone help me understand please.