Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
JVM Memory usage(Stack vs Heap)
Search
Deepu K Sasidharan
January 23, 2020
Education
74k
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
JVM Memory usage(Stack vs Heap)
Deepu K Sasidharan
January 23, 2020
More Decks by Deepu K Sasidharan
See All by Deepu K Sasidharan
Delay the AI Overlords: How OAuth and OpenFGA Can Keep Your AI Agents from Going Rogue
deepu105
0
81
Delay the AI Overlords: How OAuth and OpenFGA Can Keep Your AI Agents from Going Rogue
deepu105
0
100
Auth for MCP: Secure MCP servers using OAuth
deepu105
0
99
Auth0 for AI Agents
deepu105
1
150
Securing the Future of AI: Authorization Strategies for RAG Systems using LangChain4J and OpenFGA
deepu105
0
160
Demystifying OAuth and OIDC: JFokus
deepu105
1
220
Mastering Kubernetes Security from Containers to Cluster Fortresses
deepu105
1
150
Go containerless on Kubernetes
deepu105
1
190
A Passwordless Future! Passkeys for Java Developers
deepu105
0
240
Other Decks in Education
See All in Education
エビデンスベースト英語教育入門:エビデンスは科学的知見(だけ)ではない,制度だ!
terasawat
0
220
Sekolah Sabat - Triwulan 3 2026 - Pelajaran 13
hiola
0
11k
生成AIとの付き合い方/ How to work with AI
kaityo256
PRO
3
840
Merger Process
bvr7352
0
160
Introduction to Primary and Secondary Metabolites their Metabolic Pathways
drpoonamkc
0
170
批判的応用言語学ワークショップ(2026-08-12 お茶の⽔⼥⼦⼤学)
terasawat
0
210
Invest Early, Build Together
rashwhitman
0
620
マークシート試験のTeX言語を用いた自動採点について
doratex
0
5.9k
Introduction to M&A
bvr7352
0
240
EL GEOPARQUE MUNDIAL UNESCO VOLCANES DE CALATRAVA: DE LA INVESTIGACIÓN CIENTÍFICA A LA TRANSPOSICIÓN DIDÁCTICA EN EL AULA
juanmartin2026
0
24k
2026年度秋学期 統計学 第1回 イントロダクション ー 統計的なものの見方・考え方について (2026. 9. 29)
akiraasano
PRO
0
250
Sekolah Sabat - Triwulan 4 2026 - Pelajaran 3
hiola
0
6.6k
Featured
See All Featured
Designing for Performance
lara
612
70k
Between Models and Reality
mayunak
4
490
Ruling the World: When Life Gets Gamed
codingconduct
0
400
Side Projects
sachag
456
43k
Designing for humans not robots
tammielis
254
26k
RailsConf 2023
tenderlove
30
1.6k
How Software Deployment tools have changed in the past 20 years
geshan
2
35k
First, design no harm
axbom
PRO
2
1.3k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Building the Perfect Custom Keyboard
takai
2
900
Transcript
JVM Memory usage Heap memory Thread Stack
JVM Memory usage Heap memory Thread Stack main
JVM Memory usage Heap memory Thread Stack main Employee:new Employee
instance String instance “John” Integer instance 5000 Integer instance 5 name null salary null sales null bonus null this name salary sales
JVM Memory usage Heap memory Thread Stack main Employee:new Employee
instance String instance “John” Integer instance 5000 Integer instance 5 name null salary null sales null bonus null this name salary sales
JVM Memory usage Heap memory Thread Stack main Employee:new Employee
instance String instance “John” Integer instance 5000 Integer instance 5 name salary null sales null bonus null this name salary sales
JVM Memory usage Heap memory Thread Stack main Employee:new Employee
instance String instance “John” Integer instance 5000 Integer instance 5 name salary sales null bonus null this name salary sales
JVM Memory usage Heap memory Thread Stack main Employee:new Employee
instance String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus null this name salary sales
JVM Memory usage Heap memory Thread Stack main Employee:new Employee
instance String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus null this name salary sales return void
JVM Memory usage Heap memory Thread Stack main Employee instance
String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus null john
JVM Memory usage Heap memory Thread Stack main Employee instance
String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus null findEmployeeBonus john salary 5000 noOfSales 5
JVM Memory usage Heap memory Thread Stack main Employee instance
String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus null findEmployeeBonus john salary 5000 noOfSales 5 getBonusPercentage salary 5000
JVM Memory usage Heap memory Thread Stack main Employee instance
String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus null findEmployeeBonus john salary 5000 noOfSales 5 getBonusPercentage salary 5000 percentage 500
JVM Memory usage Heap memory Thread Stack main Employee instance
String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus null findEmployeeBonus john salary 5000 noOfSales 5 getBonusPercentage salary 5000 percentage 500 return 500
JVM Memory usage Heap memory Thread Stack main Employee instance
String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus null findEmployeeBonus john salary 5000 noOfSales 5 bonusPercentage 500 bonus 2500
JVM Memory usage Heap memory Thread Stack main Employee instance
String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus null findEmployeeBonus john salary 5000 noOfSales 5 bonusPercentage 500 bonus 2500 return 2500
JVM Memory usage Heap memory Thread Stack main Employee instance
String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus john Integer instance 2500
JVM Memory usage Heap memory Thread Stack main Employee instance
String instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus john return void Integer instance 2500
JVM Memory usage Heap memory Thread Stack Employee instance String
instance “John” Integer instance 5000 Integer instance 5 name salary sales bonus Integer instance 2500