Комментарии:
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.
Thank you provide valuable information about Java memory management 🙏🙏🙏
ОтветитьNice explanation sir..
ОтветитьThanks Sir
ОтветитьThank you.
ОтветитьGreat explanation. Thank you!
ОтветитьWhat is created first a class or a stack
ОтветитьMy first nice video on Memory Management 👌👌
ОтветитьKutha chimpi para dhengaw anna.... Mid nyt kuda chaala interesting ga chusaa
ОтветитьMemory leak will come on only in heap area right? If yes then in that case what we need to do in that case?
Ответить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. ?
Ответить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?
Ответитьgreat explanation 👏
ОтветитьPermanent Generation is replaced by Metaspace in jdk8. What's the difference
ОтветитьGreat explanation
ОтветитьBest content on memory management..Thanks for sharing!
ОтветитьIf m1 calls m2, method block will be available to which method?
ОтветитьNice Explanation
Ответить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 :)
This was really helpful. Thanks a lot.
Ответитьawesome man
ОтветитьIs this java 7 model or java 8?
ОтветитьHi Naveen, How to perform GC for a particular object
ОтветитьThis is for Java 7 and lower. Please modify the video title to mention it is for lower version than Java 8
ОтветитьBest illustrated concept of memory management in java
ОтветитьCan you please explain the difference between java 7 and java 8 memory management .
ОтветитьWhat are JRE classes? The predefined classes or the ones which I have made ?? Someone help me understand please.
Ответитьvery very nice explain
I become subscriber because this video
Thankyou for this video Naveen!
Ответить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?
Awesome explanation!!! Terrific!! Thanks a lot!!!
Ответитьnr.1
ОтветитьVery informative. I have one doubt why the survivor memory classified as two, both have same usage and purpose?
Ответитьhello thanks for the videos i have a question:
public c l a s s B e e rA p pli c a ti o n { // Main Cl a s s f o r t e s t s
public s t a t i c void main ( S t ri n g [ ] a r g s ) {
B o t tl e b1 ;
B e e r B o t tl e [ ] pack = new B e e r B o t tl e [ 3 ] ;
b1 = new B o t tl e ( 5 0 0 , 4 . 5 ) ;
B e e r B o t tl e b2 = new B e e r B o t tl e ( 3 3 3 , 4 . 0 , ”Corona ”)
for ( int k=0; k<pack . l e n g t h ; k++) {
pack [ k ] = new B e e r B o t tl e ( 3 3 3 , 4 . 8 , ”Bi t ”) ;
}
where does the int k go on the stack or heap? thank you
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.
Thanks for sharing this knowledge!
Ответитьwe call a method , a method block is created what if we call another method from within a method
a new method block will be created?? if yes, then where inside the same method block or outside that method block?
Very nice👍👍👍 it's really helpful.
ОтветитьSuch a quality content ❤️
ОтветитьThis video deserves more likes and views 🙏
Ответить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 ?
great information, fine details. :)
ОтветитьBow down to u ...TY so much
ОтветитьPermGen was part of Heap upto java 8.
From java 8, it had been removed.
Thanku sir can u please share if u have any notes?
ОтветитьVery informative, but I was looking for information regarding MetaSpace.
ОтветитьThankyou sir for this 🔥🔥🔥 explanation
ОтветитьGreat Explanation , this is something that I found deepen understanding of memory management. Thanks Naveen
ОтветитьHi Naveen, just want to know each application create own JRE on server memory? also what is difference between JVM and JMM?
ОтветитьGreat explanation..
Ответить