P56 - Memory Management in Java | Core Java | Java Programming |
HTML-код
- Опубликовано: 8 июн 2023
- In this video, we dive into the fascinating world of runtime data areas in the JVM (Java Virtual Machine) and gain a comprehensive understanding of how Java manages memory during program execution.
Understanding the runtime data areas is crucial for Java developers who want to optimize memory usage, improve performance, and prevent common memory-related issues in their applications.
We start by exploring the Heap, the memory region where objects are allocated and managed.
Moving on, we dive into the Stack, which plays a vital role in method invocations and variable scoping. We uncover the purpose of method frames and how the stack manages local variables, reference variables.
Next, we uncover the Method Area, a critical part of the JVM's memory management. We explain how the method area stores class-level data, including bytecode instructions, constant pools, field and method information, and static variables.
By the end of this video, you'll have a clear understanding of how runtime data areas in the JVM function and how they contribute to the overall memory management process in Java applications.
If you're a Java developer looking to gain insights into memory management and optimize your code's performance, this video is a must-watch.
Don't miss out on this opportunity to enhance your understanding of runtime data areas in the JVM. Watch now and take your Java programming skills to the next level!
Points covered in this video:
❇️ What is memory management?
❇️ Understand the different memory areas
❇️ What is the default size of the heap memory in JVM
❇️ What is the default size of the stack memory in JVM
❇️ How to increase or decrease the size of the heap memory in JVM
❇️ How to increase or decrease the size of the stack memory in JVM
❇️ Changes to runtime data areas after java8
🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶
▶ Next Video link: • P57 - Anonymous object...
◀ Previous Video Link: • P55 - JDK, JRE and JVM...
↔ Core Java in Telugu Playlist link: bit.ly/3KMlbBk
✴ Checkout my other playlists: bit.ly/3gLIAVL
☕ Buy me a coffee: bit.ly/33ljBWc
===================================
===================================
Connect me @
🔗 Website - www.hyrtutorials.com
🔗 Telegram - t.me/hyrtutorials
🔗 Facebook - / hyrtutorials
🔗 LinkedIn - / hyrtutorials
🔗 Twitter - / hyrtutorials
🔗 Instagram - / hyrtutorials
===================================
===================================
🙏 Please Subscribe🔔 to start learning for FREE now, also help your friends in learning the best by suggesting this channel.
#hyrtutorialstelugu #selenium #java #telugu
Java programming by Yadagiri Reddy
↔ Core Java in Telugu Playlist link: bit.ly/3KMlbBk
✴ Checkout my other playlists: bit.ly/3gLIAVL
☕ Buy me a coffee: bit.ly/33ljBWc
Anna. Complete java notes పెట్టండి anna
Me class bagundi alage notes kuda pettandi anna
sir your teaching is excellent sir the way your teaching the topic is goes into the rom in my brain
Thanks buddy 🙂
The amount of energy you are putting into these videos are just unimaginable. Despite the exhaustion by the end of the video, you still have energy to recap everything. What a great dedicated teacher you are, salute sir. Thank you very much as always.
PS. Looking forward to Multithreading class
Thanks for understanding buddy.
Un beatable classes for Java
i am impressed
YOU GREAT
what a subject
thank you from the bottom of the heart
Thanks buddy 😊
00:03 Memory management in Java involves understanding different types of memories
22:44 Memory Management in Java involves managing memory areas like stack, permanent generation, and metaspace.
34:35 Memory Management in Java
41:27 Memory management in Java involves handling objects and reference variables.
53:50 Memory management in Java covers referencing and static variables.
1:02:49 Understanding memory management in Java
1:12:53 Memory Management in Java involves setting VM arguments and handling out of memory errors
1:24:25 Memory management is an important topic in Java programming.
Crafted by Merlin AI.00:03 Memory management in Java involves understanding different types of memories
22:44 Memory Management in Java involves managing memory areas like stack, permanent generation, and metaspace.
34:35 Memory Management in Java
41:27 Memory management in Java involves handling objects and reference variables.
53:50 Memory management in Java covers referencing and static variables.
1:02:49 Understanding memory management in Java
1:12:53 Memory Management in Java involves setting VM arguments and handling out of memory errors
1:24:25 Memory management is an important topic in Java programming.
🙏
No words to explain your teaching sir
Thank you sir for your patience and knowledge sharing.
Happy learning buddy 😊
This is top level information, thank you so much :)
Thanks buddy 😊
Take a bow sir, wonderful teaching
Thanks buddy 🙂
Nice explanation and point to point very clear explanation thank you so much anna
Thanks buddy 🙂
Got full clarity on the topic . Thank you :)
Happy Learning buddy 🙂
Thank you sir for uploading videos plzzz complete as fast as possible or plzzz what could be the last video in core java your classes are really helping us to build from scratch
Most of the topics are completed buddy. Whatever I post next is an extra things only
Nice to see you again sir 😊
Thanks buddy 🙂
I AM AN EEE STUDENT AND I WAS PREPARING FOR GATE BEFORE, THE WAY THAT U ARE EXPLAINING CONCEPTS IS SIMPLY SUPERB SIR. I FEEL LIKE SITTING IN GATE CLASSES WHERE THEY EXPLAIN EVERY THING VERY CLEARLY.
THANK U SIRR
Thanks buddy 🙂
vere level mowa nuvvu ....tq soo muchh....
Thanks buddy 🙂
Legend is back 🔥
Thanks buddy 🙂
Thank you for the lucid explanation sir💜
Happy Learning buddy 🙂
valuable info for non-IT people. I request you(sir) to spend some time on spring also in order to learn one frame work.
No plan buddy 😔
Very nice anna epudu naku java memory allocation lo kinni doutes vundevi mi video chusaka na douts anni koda clear ayaye thanks for sharing information anna
Happy Learning buddy 🙂
Thanks for your efforts bro..
Happy learning buddy 😊
Concept of the day ❤️
Happy Learning buddy 🙂
Everything is awesome but typically RAM has more memory than ROM.
Because RAM is used to provide memory for processing the applications while ROM is used to boot the system and it need MB space.
I think u misunderstood difference between disk and ROM
That's wrong buddy. If you check any system configuration, ram is lesser than ROM. ROM is used for storing the data which means we need more space . But RAM is used for loading the data or applications and that's why it is smaller. ROM is nothing but your hard disk.
thanks bro i got clear idea about memory managment in java😊
Super buddy
Well done sir....thanks for your time
Happy Learning buddy 🙂
anna meeru total syllabus please complete cheyyandi anna bcoz yotube lo chala java classes unna kuda naku mee explanation ki matramey ardhamaitundi🙏🙏🙏🙏
Thanks buddy 🙂
@@HYRTutorialsTelugu 56 class last of corejava
@@urukunduyadav6304Inka eni class lu unayi testing ki core Java enta varaku kavaliii
@@Mdd181 testing ki corejava complete ga raavali buddy. Konthamandi corejava antha avasaram ledu ani cheptharu but only with full corejava knowledge you can write good automation code and frameworks
@@HYRTutorialsTelugu mee 56 videos lu chusi nerchukuntee core Java vachinatenaaa
Hi sir
Thanks for course
It was very helpful
Happy Learning buddy 🙂
Thank you sir
Happy learning buddy 😊
Thankyou Brother.. iam include the knowledge...
Happy learning buddy 😊
thank you very much anna
Happy Learning buddy 🙂
Perfect teacher for java
Thanks buddy 🙂
your explanation is so good 😀
Thanks buddy 😊
Hlo sir I am very big fan of your teaching sir please upload total concept s of java sir please
Thanks buddy 🙂
Clear explanation, please make vedio on solid principal n design patterns
Sure buddy
అన్నయ్య మీరు JAVASCRIPT గురించి కూడ COMPLETE videos చేయండి ఎందుకంటె ప్రస్తుతం javascript is most widely used scripting language for develop FRONT END developer ❤️
Yeah sure buddy
Thank you for the valuable information brother it's helpful so many people like me. Do some videos on Advance Java also
No plan on adv java buddy 😔
@@HYRTutorialsTelugu okay☺
Nice explanation
Thanks buddy 🙂
chala depth ga cheptunaru Annay
Yeah full knowledge gain cheyyochu buddy
add the multithreading videos sir, can't wait for them
Sure buddy
Anna, if you don't mind can you please make live video bcz some of members want to clarify our doubts regarding jobs and how to get better programmer and all that stuff we want know. We want to listen from you bcz you are giving the best guidance about subject so mainly i want to talk with you in live. Whenever you are free Could you please make live video bro ......plzzzz 🙏🙏.....
Chustha buddy
Meanwhile send me all your questions on hyadagirireddytutorials@gmail.com
thank u sir
Happy learning buddy 😊
Good patience
Thanks buddy 😊
Thanks Buddy 😊
Happy Learning buddy 🙂
Great video sir, i have cleared all my doubts.Thanks alot sir.Could you please do some java projects sir.🙏
Thanks buddy 🙂
Great content, flow, and presentation. Even though, I was unable to follow the explanation, except few common words like kooda... due to the language barrier but wasn't a hindrance to grasp the concept.
Thanks buddy 🙂 This was created in telugu language unfortunately
@@HYRTutorialsTelugu I am fortunate to learn two languages Simultaneously - Java and Telugu.
One helps you professionally and another helps you personally @@shivakumarm6994
Maybe it is a lot to ask , Kindly do springboot and microservices. It would help many of them.
Ippatlo no plan buddy
tq sir
Happy Learning buddy 🙂
Thanks for the valuable information anna😊.
Please advanced Java kuda videos cheyyandi anna..
Happy Learning buddy 🙂
Nice
Thanks buddy 😊
Buddy superb deep explanation
Java create chesinodu kuda present entha clear ga cheppaledemo
Thanks buddy 🙂
good sir
Thanks buddy 🙂
❤
Thanks buddy 😊
💯💥💫
Thanks buddy 🙂
🏆🏆🏅🏅🎖
Thanks buddy 🙂
nice
Thanks buddy 😊
anna oka question java loo strings anni Heap Memory loo unna String Pool lo store avutai kada (data) and all static variables anni MetaSpace loo store avutaiii
so ippudu manam oka static string variable create cehastay adii String Pool lo save avutundaa like a normal variable or static variable kabatti MetaSppace loo store avutundaa...?
Metaspace buddy
thanks for the video content sir.can you do videos on angular.
Happy Learning buddy 🙂
❤❤❤❤❤❤❤
Thanks buddy 🙂
Sir please make videos on threads
Sure buddy
@@HYRTutorialsTelugu your videos are very excellent and very helpful to us sir we are fully satisfied for your explanation and your knowledge
Hi, Great explanation. Generally, a size is allocated to Java (Native Area) but we increase the memory of stack then in that case will the system adds additional memory to Native Area or some part of heap memory is reduced and added to stack area.
Thanks buddy 🙂
Hi Sir, Wonderful explanation .. I have a quick question..For main() method, a space in stack memory is created to store primitives and references of this method. But ekkada na question main() anedi STATIC method kada then it should store in Method Area kada? please elaborate bit more sir.. Thank you!
Thats correct buddy. ikkada main ane oka method undi ani neeku stack lo entry untundi but the memory is not under it
@@HYRTutorialsTelugu Got you sir, asalu edi nake silly question la anpinchindi ..still clarified with you..thanks a lot sir!!
anna super anna meru
Thanks buddy 🙂
inko question anna heap & stack memory default values java installation appudu default gaa set avutai kada adii system resource nii base cheasukoni untadaa or every pc ki same space allocation avutundaa...
Mostly same for every PC unless you change that configuration buddy
Anna your explanation is awesome...
Spring boot nerchukovadaniki edina manchi website or RUclips channel chepandi pls...
Thanks buddy 😊
No idea buddy
Hello Sir, According to your explanation static methods should execute in metaspace memory then main method also should execute in Meta space as it's a static method. In this video, you mentioned like main method starting execution explained in stack memory so what is the reason behind this?
Every execution entry is created in the stack entries buddy.
Hi Sir,
When the Console enters from the main frame to another method frame after its completion you said it will be deleted from the stack. Could you please explain if the methods is called multiple times at various stages of the main method what will be the process
It will create the frames then and there buddy. which means for every method call it will create the method frame. there is no reusability concept here.
Thanks for the reply
@@HYRTutorialsTelugu
sir static methods execute stack area and non static methods heap area lo execute avuthayaa or not
hi anna intha indepth knowledge ekkada nundi gain chesaru?
Over the time buddy
sir please upload remaining concepts my friends also waiting to know the remaining concepts
Sure buddy
I wish I can give you 10xxx likes. Too good andi. At 57.20 How about Thread.sleep(). It is Anonymous Object or ?? will it be sorted inside the e1, e2. Please clear it out. At 1:17:34, when you have increased memory from initial 1 to 2 and 2 to 5. Where this coming from. I mean does it taking out of Heap or it is taking from physical machine. I am sure when you increase Heap memory size that is 100% from physical machine 😀😀😀 where else it will go. Still need to know where Stack go to get memory when you increase its size.
At 57:20 we are calling a static method from Thread class.
Even the heap and stack memory are taken from physical memory only but a little bit of difference will be there. As mentioned in the video, when we install the java it allocates the memory to these two memories from the physical memory. so when you increase it takes from physical only.
Main method kuda static method kada adi kuda metaspace lo create avvali kada sir stack lo enduku create ayindi
adi only call cheyydaniki maathrame buddy
Hello bro, Please make a video on multi threading🙂
Sure buddy
Nice anna,join aina institutelo kuda inta matter cheppadam ledu.
Thanks buddy 🙂
return key word use enti bro,advantage and disadvantages?? koncham clear ga cheppandi....
Return gurinchi methods topic lone discuss chesam kada buddy. Return is used for returning any value from the method
hi i like your classes and way of teaching iam looking phython classes is it any viedio you have plz let me know
No plan buddy 😔
hello reddy please upload total concepts of java....
Sure buddy
Python pina videos cheyara sir
No plan buddy 😔
Hi bro. What about Eden, Survivor1 and Survivor2?
Next video lo vastai buddy.
@@HYRTutorialsTelugu Thank you bro❤
Hi sir,
I want multithreading concepts
Plz upload
Chestanu buddy
can u explain spring boot and authentication security...
No plan buddy 😔
reactjs videos cheyandi sir
how can we increase the memory in vs code ide bro
You can increase/decrease the available RAM for VS Code on its Settings. Go to File -> Preferences -> Settings, there you can type files.maxMemoryForLargeFilesMB and change the value for your desired maximum RAM.
Sir..what is default memory that was allocated to meta space
Metaspace doesn't have default space buddy. It takes the memory from your machine directly
Thanks for your reply sir... In these tough times of yours..we hope you will come back with same energy
@@vamsikrishna9963 Thanks buddy 😊
anna ee comment ki reply evava plss....edhay last video naa..ee core java course ki..lekaa nkaa undhaa..?
Inka unnai buddy but all the major topics are completed. So kind of course complete he
Hi sir .... Osm explanation sir...
Sir meru online coaching provide chesthunnara..
Nenu join avvali anukuntunna details provide chesthara sirnaku
No buddy
Please provide materials aswell
Inka prepare cheyyaledu buddy. Untill then you can prepare notes by watching the videos
Frameworks Spring boot and microservice cheypadi bro
No plan buddy 😔
this is the last clss of core java na...sir..?
Not exactly but most of the topics are done buddy
TQ you sir
Hii sir how are you sir collection topic midha assignment video appudu chestharu
Chustha buddy. new topics meeda videos cheyyadaniki time set avvatledu and anduke assignment videos cheyyadam ledu
Sir multi threading kuda cheppandi plss.
Sure buddy
core java complete indaa e vedio tho complete ipoendha sirr.....
Ipoindi buddy
S SIR REMAINING HOW MANY TOPICS IS THERE SIR PLEACE COMPLET THE COURSE.THANK YOU.
Course is completed buddy with all the major topics. will keep on adding the videos for some small topics if required
Sir, MethodOverloading and Constructor overloading Separate ga Video chesta annaru..!?
avi already cover ayyi unnai kada buddy previous videos lo
Malli inko video chestha ani nenu epdu cheppaledu buddy
Bro threads concept chepledu
Yeah Inka ledu buddy. Daani kanna mundu vere konni videos unnai. Avi finish chesi threads chepthanu
Bro advance java videos chayadi bro
No plan buddy 😔
Anna springboot framework explain cheyy anna
No plan buddy 😔
subject lo dhammuna monagadu
Thanks buddy 😊
Nodes provide cheyandi broooo
Notes mere prepare cheskovali buddy videos chusi
Sir advance java cheppandi sir🙏
No plan buddy 😔
@@HYRTutorialsTelugu 😔
Bro Inka examples practice cheyali ante ela
Write some program and analyse it with this knowledge buddy
Hii sir how are you???
Im good buddy, Thanks
How are you doing?