Тёмный

Stack vs Heap Memory - Java Memory Management (Pointers and dynamic memory) 

Naveen AutomationLabs
Подписаться 383 тыс.
Просмотров 98 тыс.
50% 1

In this video, I have explained what is Stack and Heap Memory - Java Memory Management in Java.
--Heap vs stack memory
--Head Memory space
--Metaspace and permanent generation
--Eden Space
--Survivors
~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
ru-vid.com%20Au...
Follow me on my Facebook Page:
/ naveenqtpexpert
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
t.me/joinchat/COJqZUPB02r5sB7...
Paid courses (Recorded) videos:
naveenautomationlabs.com/reco...
For Java & Selenium - naveenautomationlabs.com/selen...
For API (Manual + Automation) - naveenautomationlabs.com/manua...

Наука

Опубликовано:

 

15 сен 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 126   
@shravan35
@shravan35 3 года назад
I loved the way you have merged the whiteboard series with the previous core java series from the continuation basis, such a detailed amazing job!! On top of the video being amazing as ever even the organization of it adds more sense and logic to the video. Hats off Sir!
@naveenautomationlabs
@naveenautomationlabs 3 года назад
Glad that it helped you to learn 😊
@shravan35
@shravan35 3 года назад
@@naveenautomationlabs Very much Sir! :-)
@mehmetnobel6731
@mehmetnobel6731 Год назад
Thanks a lot, Naveen for your dedication and awesome job. You are amazing! The beauty of your lecture and speech is you are not talking in an academic and boring style but giving examples from the real work env. with attention-grabbing manners. Again, many and warm thanks for your precious efforts. Follow you with great pleasure!
@askmeveera
@askmeveera 3 года назад
Great Naveen! , I still remember the old video about Java Memory somewhere from 2018 here,Which did great help in my interviews. watching this too to erudite my skills, Thank You
@baan1221
@baan1221 3 года назад
Hi Naveen, Java was a scare for me even after doing MCA and this destroyed my career. But am following ur videos now, U made it sooo.... easy that am am now half way thru ,confident and willing to learn more. Cant thank you enuf!!
@Welcomeall143
@Welcomeall143 2 года назад
The small line on your short speaks alot sir . Thank you very much for your core Java collection, it's really eassy to understand the back ground how Java works, hope you continue this good for long sir.
@Mayank-ff9mq
@Mayank-ff9mq 7 месяцев назад
One of the best lectures i have seen till date on Java Memory Allocation !!!
@takeshiasahi5494
@takeshiasahi5494 2 года назад
You said it was tough, then taught me like I was 5. Great video. Thanks a lot sir.
@afifahmed1183
@afifahmed1183 3 года назад
Thank you very much. :) Selenium is a hot cake in USA currently. And i am learning from your youtube videos.
@gsathyanarayana7366
@gsathyanarayana7366 2 года назад
I loved the way you presented it and it's very clear and understandable. This would be really helpfull to the people who are in job hunting. Thanks alot for sharing your knowledge across ....!!
@anannya9909
@anannya9909 3 года назад
you are the best teacher I have seen till date! THANK YOU SO MUCH for knowledge sharing. God bless you.
@vikramreddy7586
@vikramreddy7586 3 года назад
This video is GOLD!! Real life Jeetu Bhaiya!!
@Sana-su2se
@Sana-su2se 3 года назад
I take screenshots of all ur lessons to revise later. You are so dedicated to your work and serving people by sharing knowledge. Thank you so much Naveen 😇
@naveenautomationlabs
@naveenautomationlabs 3 года назад
So nice of you
@rajanideshpande1990
@rajanideshpande1990 2 года назад
Hey Naveen. It so happened that I felt you are teaching me live and I almost went to unmute myself to ask a doubt in mid of your video. Thanks so much for these sessions, they are really helpful.
@santhoshiyada1675
@santhoshiyada1675 3 года назад
It's the best video on memory management sir!!! Such a clear and wonderful explanation...
@SarangHoley
@SarangHoley 3 года назад
Long awaited topic & thanks for covering it on white board 👍😊
@ramji_19
@ramji_19 3 года назад
Really worth the time spent in listening to this video. Great work.
@TheRoyal0001
@TheRoyal0001 3 года назад
very well explained in detail and in simple way Naveen! Thanks.
@Islamicvideoreaction880
@Islamicvideoreaction880 2 года назад
I have seen many tutorials of Java but not completely satisfied. After watching this tutorial. I got so happy that I have subscribe it from all my emails. Actually I was stuck with memory allocation that how does. Heap area or stack area or method area really work?🤔🤔🤔 Finally I got it 😁🙂 thanks a lot sir 💗
@soodharshal
@soodharshal Год назад
Thanks Naveen for this wonderful topic on Java memory management
@fayazbaig2490
@fayazbaig2490 3 года назад
Thank you for this series for continuous enhancement of our skills
@shankumondal2881
@shankumondal2881 3 года назад
A very complex topic has been clarified in a simple way. Loved ❤️ it
@jatinsharma3792
@jatinsharma3792 2 года назад
It is beautiful to understand insides about Tech.
@user-qg1qg2vi4c
@user-qg1qg2vi4c 2 года назад
Excellent video, thank you so much for your help understanding the basics!
@dineshdkumar1771
@dineshdkumar1771 3 года назад
absolutely marvelous, Thanks Naveen
@almajabin7898
@almajabin7898 3 года назад
I just loved the topic the way you covered. Thanks a ton!
@87harshmehta
@87harshmehta 2 года назад
I paused the video. Ordered the same T-shirt and continued 😄 Very informative video. Appreciated all your efforts towards the community 🙏
@mahalasakini5045
@mahalasakini5045 Месяц назад
Thanks a lot, this is really very interesting session and got to know the memory management in java
@jatinsharma3792
@jatinsharma3792 2 года назад
Love your gyan.!! Impresive Thanks for mathematical expression.
@MadiraSarkar
@MadiraSarkar 3 года назад
Sir , you are amazing. It’s the combination of your knowledge and teaching style which make your tutorials so unique . Thank you so much for your kindness.Looking forward to the next topic 🙏🏻
@waheedabbas3915
@waheedabbas3915 2 года назад
Just one word, simple and awesome
@justreason5868
@justreason5868 Год назад
Thank you very much for this detailed explanation. I'd recommend this.
@manupriyar8169
@manupriyar8169 Месяц назад
So nice.. clear and understandable. Thankyou
@gunjankapoor9163
@gunjankapoor9163 3 года назад
Metaspace was interesting, thanks for the detailed video.
@autogarage8559
@autogarage8559 3 года назад
*Naveen AutomationLabs* Good content
@bongtube1983
@bongtube1983 2 месяца назад
Thank you for explaining it in so easy way. kudos!
@Adhurapan
@Adhurapan 2 года назад
Hi Naveen... You have a great teaching skill... I have been watching your videos since morning continuously and still I am not boared of it 🤩 Anyways .. Your t-shirt have a nice quote😉
@jatinsharma3792
@jatinsharma3792 5 месяцев назад
If the Live classe with the Cap I guess people love to focus more in the lectures, btw you look good with cap. :D
@dhirajpawar6429
@dhirajpawar6429 Год назад
Excellent video, thank you so much for your help understanding the basics!, Your doing well Job 💯
@vasavip1628
@vasavip1628 3 года назад
Awesome Naveen!!
@moviebuff3030
@moviebuff3030 3 года назад
Ye video to bawal tha. Ekdum jo bhi abhi tak study kiya tha usse pura alag. Like welcome to the reality. Thanks by the way. 🌷🌷
@naveenautomationlabs
@naveenautomationlabs 3 года назад
Haha thanks brother
@moviebuff3030
@moviebuff3030 3 года назад
@@naveenautomationlabs 😊😊
@gowthamsankaran67
@gowthamsankaran67 8 месяцев назад
Thank you so much for the video. Please do more in-depth videos like this.
@vinith2320
@vinith2320 3 года назад
Naveen you are gem ❤ Thank you .
@sahilsharma-rm1dm
@sahilsharma-rm1dm 3 года назад
Hi Sir, Just wanted to know the survivor 1,2 part is it required for the automation. I got confused after a while. I know the memory concept should be clear. But is it mandatory to go that much deep?
@hussainshaik4752
@hussainshaik4752 3 года назад
@Naveen, Your explanation was superb..... you made it very simple....
@naveenautomationlabs
@naveenautomationlabs 3 года назад
Thank you so much 🙂
@niteshbhati6496
@niteshbhati6496 10 месяцев назад
good explanation....keep up the good work🙂
@tejaswiniurs5870
@tejaswiniurs5870 2 года назад
Nice explanation :) I liked the words on your T-shirt "I make Developers Cry" haha ;)
@ABAutomationHub
@ABAutomationHub 2 года назад
Very nicely explained.. Thanks for covering these complex topics in so much detail.
@naveenautomationlabs
@naveenautomationlabs 2 года назад
Glad that you liked it 🙂
@sreenathmm813
@sreenathmm813 2 года назад
Brilliant Naveen !!!
@shobhit9826
@shobhit9826 3 года назад
This is awesome 👏
@archanakhandagle2768
@archanakhandagle2768 3 года назад
Thank you sir it was very helpful 😊
@shivanitondak1206
@shivanitondak1206 Год назад
Thank you for all your efforts
@MDHOSSAIN-gj5ve
@MDHOSSAIN-gj5ve 3 года назад
Awesome video.
@Islamicvideoreaction880
@Islamicvideoreaction880 2 года назад
Please keep it up like this ways to make easy to understand 🙂🙏🙏
@sourabhyadav596
@sourabhyadav596 3 года назад
Very helpful content.
@indra-jx2zh
@indra-jx2zh 3 года назад
Thank you Naveen
@jinitescapematrix
@jinitescapematrix Год назад
very good explaination sir
@vibhagupta2618
@vibhagupta2618 3 года назад
superb video
@indranilpalit5799
@indranilpalit5799 2 года назад
Hey naveen, I really liked your shirt, we as a QA really make devs cry
@theabsoluteITguy
@theabsoluteITguy 5 месяцев назад
Thanks Naveen
@AshutoshSharma-qu2ph
@AshutoshSharma-qu2ph 3 года назад
Awesome dude.
@sibtainsyed1103
@sibtainsyed1103 3 года назад
Very well Explained by the way nice shirt :D
@WendwesenGezaheng
@WendwesenGezaheng Год назад
good job! Thank you
@jyosstyle1638
@jyosstyle1638 3 года назад
Hi Naveen I have started learning selenium to switch from manual to Automation and I want to switch ASAP. I know some basic Java and covered Selenium basic concepts till now. Do I need to go through all these topics mentioned in Java playlist? Please let me know . @Naveen
@ayush_goel
@ayush_goel 2 года назад
Thanks for the video Naveen. I would like to give this feedback that there is sometimes lot of repeated information within the video itself. For eg., in this video, you repeated metasoace functionality more than twice which, I think, was not required. Other than that, great content
@KaisarAnvar
@KaisarAnvar 3 года назад
First!!! ❤️ You're amazing sir, about to learn so much from you. Are there videos of you teaching about API + Postman + Framework? My weakness is that I try to understand the intet-connection between these (and perhaps more) but hard to digest. Thanks so much!!
@KaisarAnvar
@KaisarAnvar 3 года назад
inter*
@VineetKumar-eb3lv
@VineetKumar-eb3lv 3 года назад
Superb
@supun_sandaruwan
@supun_sandaruwan 2 года назад
thank you sir amazing explanation
@prikshitverma3885
@prikshitverma3885 3 года назад
Are sir nice video!!! and Nice tee..!!!
@akashsontake1440
@akashsontake1440 2 месяца назад
Thanks naveen
@tarunsoni6971
@tarunsoni6971 Год назад
A question in the first 5 mins itself, you said that stack memory is LIFO and the Stack space for M1 and its local variables is at the bottom then how the memory is deallocated from the bottom... I am already confused.
@Ashokkumar-wj5mw
@Ashokkumar-wj5mw 3 года назад
Hi Naveen, Can you please make a video on Spring cloud contract testing
@Ashlin63
@Ashlin63 3 года назад
Hi Naveen, Your video is very informative. Can you please tell me what happens in below case? public static void main(String[] args){ Custom[] getArr=getCustomArray(); } public Custom[] getCustomArray(){ int a=10; String b="Ashlin"; Custom[] customArray=new Custom[100]; custom[0]=new Custom(); custom[1]=new Custom(); custom[2]=new Custom(); . . custom[99]=new Custom(); return customArray; } As you mentioned that the stack frame for this method will be destroyed once the function exits. But how does it work in the case of returning the value from a function? Once the reference variable is destroyed from the stack frame does the new reference variable in the calling function point to the Custom object in heap?
@amolnawale2177
@amolnawale2177 3 года назад
Thanks Naveen for this wonderful topic on Java memory management. Learned Lots of new things. Do we also have any session covering the String Constant Pool within the Heap memory?
@intellectualnews9828
@intellectualnews9828 3 года назад
Tq I was finding that is exactly but I couldn't able. Thank you sir
@thelostguy1212
@thelostguy1212 3 года назад
Very proud should be you
@evieranawat4480
@evieranawat4480 3 года назад
You mentioned in this video that I'll create 1 more video in detailed memory mgnt. Abt heap, s1,s2, gc. I'm waiting for that.
@soopastylin1932
@soopastylin1932 3 года назад
love the shirt ...like a bosss
@idohadad8882
@idohadad8882 2 года назад
The best!
@RahulVerma-gh4uu
@RahulVerma-gh4uu 3 года назад
Awesome :)
@muthukumara8792
@muthukumara8792 2 года назад
Sir could you please make video on jre,jdk and JVM difference?
@gauravsalagare8120
@gauravsalagare8120 3 года назад
Thanks Naveen, One question, Where the string pool is stored, in heap memory or metaspace?
@ADIL7777777777777777
@ADIL7777777777777777 3 года назад
In heap memory they have allocated a special space to store string which is metaspace .
@SachinSharma-fr1vb
@SachinSharma-fr1vb 3 года назад
string constant pool is part of heap area where string literals are stored. Metaspace is different n not part of heap. Static members like variable ,methods are store in metaspace which take memory from native OS.
@daoudali4075
@daoudali4075 3 года назад
thanks bro (lub u)
@sijoalexv
@sijoalexv 3 года назад
Excellent!
@naveenautomationlabs
@naveenautomationlabs 3 года назад
Thank you! Cheers!
@saxena3718
@saxena3718 2 года назад
I think this should be sufficient for any interview questions on JVM
@deepanshumehta9595
@deepanshumehta9595 3 года назад
Hey Naveen, Thanks for these lessons...Should I cover all the 100 videos on java before starting Selenium for testing?
@deepanshumehta9595
@deepanshumehta9595 3 года назад
Waiting for your reply...
@hritikmandal1491
@hritikmandal1491 3 года назад
Sir in the 1st lifo concept. Those 3 methods will stored in stack sequentially when one method will call another method sequentially but here no call of methods or any kind of dependency from one method to another method so sir lifo or filo concept is going to work when one method will call another so the called method will be executed 1st and then the caller method will be executed or we can say released the memory. Sir if I am wrong then please let me know.
@almajabin7898
@almajabin7898 3 года назад
following
@pradiptojha3611
@pradiptojha3611 2 года назад
That t-shirt is epic..
@advaitatt7784
@advaitatt7784 2 года назад
Thanks
@bhaskarvardhamana836
@bhaskarvardhamana836 Год назад
Nice
@rathanluke1683
@rathanluke1683 3 года назад
love it
@mohitsingla5436
@mohitsingla5436 3 года назад
Looking ripped.
@mahalasakini5045
@mahalasakini5045 Месяц назад
Sir please make some videos on SOLID principles
@mycountrymeriduniya5704
@mycountrymeriduniya5704 3 года назад
well surely you will :D .... where to get this t-shirt ?
@ganapathyg981
@ganapathyg981 2 года назад
I love the T-shirt
@justforyou9630
@justforyou9630 3 года назад
Fonts are very small. Cant able to read .
@yogeshmane7275
@yogeshmane7275 3 года назад
Hello naveen
@prasadjagtap1337
@prasadjagtap1337 3 года назад
But where actually methods will be stored, Meta sapce or Stacks and once you also call in heap, please clear my dought.
@anubhagupta5408
@anubhagupta5408 10 месяцев назад
stack
@AnkitSachdeva-zw1wo
@AnkitSachdeva-zw1wo Год назад
Was a follow-up video ever created?
@abdullahsholapur9933
@abdullahsholapur9933 2 года назад
Nice words on your t shirts, but developer make qa cry too by leaking too many bugs...
@Driverforcash
@Driverforcash Год назад
Naveen Sir - Great Explanation of Stack, Heap and MetaSpace. The final comparison between Stack Vs Heap was quick and easy to grasp.
@0_DaMage_0
@0_DaMage_0 Год назад
I need that T shirt lol.
@shivanitondak1206
@shivanitondak1206 Год назад
Your T-shirt is so cool🤣🤣🤣🤣🤣🤣
Далее
Wrapper Classes In Java - Core Java - Part -11
12:15
Просмотров 100 тыс.
В GEOMETRY DASH СДЕЛАЛИ GTA
00:27
Просмотров 452 тыс.
Pointers and dynamic memory - stack vs heap
17:26
Просмотров 1,4 млн
Garbage Collection (Mark & Sweep) - Computerphile
16:22
You Need to Know This About the Stack and the Heap
15:38
Part 1 - API Testing Interview Questions & Answers
1:04:39
Java Stack + Heap with Reference & Instance Variables
23:58
Stack vs Heap Memory - Simple Explanation
5:28
Просмотров 206 тыс.
iPhone 16 - НЕ СТОИТ ПРОПУСКАТЬ
4:50