Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
JVM Memory usage(Stack vs Heap)
Search
Deepu K Sasidharan
January 23, 2020
Education
72k
4
Share
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
37
Delay the AI Overlords: How OAuth and OpenFGA Can Keep Your AI Agents from Going Rogue
deepu105
0
55
Auth for MCP: Secure MCP servers using OAuth
deepu105
0
59
Auth0 for AI Agents
deepu105
1
100
Securing the Future of AI: Authorization Strategies for RAG Systems using LangChain4J and OpenFGA
deepu105
0
130
Demystifying OAuth and OIDC: JFokus
deepu105
1
190
Mastering Kubernetes Security from Containers to Cluster Fortresses
deepu105
1
110
Go containerless on Kubernetes
deepu105
1
150
A Passwordless Future! Passkeys for Java Developers
deepu105
0
200
Other Decks in Education
See All in Education
From Days to Minutes: How We Taught an AI to Onboard 50+ Tenants on our AI Features
mfcabrera
0
120
Interactive Tabletops and Surfaces - Lecture 5 - Next Generation User Interfaces (4018166FNR)
signer
PRO
1
2.2k
良い塩梅を実現する、AWSネットワーク3分クッキング
masakiokuda
1
240
「機械学習と因果推論」入門 ③ 漸近効率な推定量と二重機械学習
masakat0
0
590
応募課題(’25広島)
forget1900
0
1.3k
プロポーザルを書く技術とアンチパターン/proposal-writing-and-antipatterns
moriyuya
11
2.6k
教育現場から見た Ruby on Rails
yasslab
PRO
0
140
吉祥寺.pmは1つじゃない — 複数イベント並走運営の12年 —
magnolia
0
640
Dashboards - Lecture 11 - Information Visualisation (4019538FNR)
signer
PRO
1
2.6k
Data Physicalisation - Lecture 9 - Next Generation User Interfaces (4018166FNR)
signer
PRO
1
970
Populism, Post-Liberalism & Climate Change
vyadav
0
150
SL AMIGOS 教育格差と私たちの取り組み - スリランカの支援学校への支援プロジェクト:リシンドゥ リオ 氏 (別府溝部学園短期大学 ビジネス観光コース 留学生):2720 Japan O.K. ロータリーEクラブ2026年4月6日卓話
2720japanoke
0
570
Featured
See All Featured
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
130
A Soul's Torment
seathinner
6
2.8k
Marketing to machines
jonoalderson
1
5.2k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
ラッコキーワード サービス紹介資料
rakko
1
3.3M
Game over? The fight for quality and originality in the time of robots
wayneb77
1
170
RailsConf 2023
tenderlove
30
1.4k
Unsuck your backbone
ammeep
672
58k
The Curse of the Amulet
leimatthew05
1
12k
Accessibility Awareness
sabderemane
1
110
Music & Morning Musume
bryan
47
7.2k
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