Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Golang Memory usage(Stack vs Heap)
Deepu K Sasidharan
February 12, 2020
Technology
1
57k
Golang Memory usage(Stack vs Heap)
Deepu K Sasidharan
February 12, 2020
Tweet
Share
More Decks by Deepu K Sasidharan
See All by Deepu K Sasidharan
Lock your containers down!
deepu105
1
33
What the heck is Project Loom?
deepu105
1
20
What the heck is Project Loom and what can a normal Java developer expect from it?
deepu105
0
98
Build and deploy cloud native Java microservices on Kubernetes with Istio service mesh
deepu105
0
300
Is containerless the future of Kubernetes?
deepu105
1
120
Why did I build KDash in Rust
deepu105
1
89
Is containerless the future of Kubernetes?
deepu105
1
420
Reactive Java Microservices on Kubernetes with Spring and JHipster
deepu105
1
440
Is Rust a great language for building Kubernetes ecosystem
deepu105
0
1.3k
Other Decks in Technology
See All in Technology
経営統合をきっかけに会社をエンジニアリングした話 / btconjp-2023
carta_engineering
0
100
plotlyで動くグラフを作る
kosshi
0
710
USB PD で迎える AC アダプター大統一時代
puhitaku
0
620
Astroで始める爆速個人サイト開発
takanorip
12
8.3k
PCI DSS に準拠したシステム開発
yutadayo
0
250
マイクロサービス宣言から8年 振り返りとこれから / Eight Years After the Microservices Declaration A Look Back and A Look Ahead
eisuke
2
130
ECテックカンファレンス2023 EC事業部のモバイル開発2023
tatsumi0000
0
160
20230121_BuriKaigi
oyakata2438
0
130
Media JAWS 2023/1
matsuihidetoshi
1
100
データエンジニアを助けてくれるFivetranとSnowflakeの仕様&機能のご紹介
sagara
0
430
UIFlowの2.0がやってきた! / ビジュアルプログラミングIoTLT vol.13
you
0
220
私見「UNIXの考え方」/20230124-kameda-unix-phylosophy
opelab
0
150
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
226
16k
Practical Orchestrator
shlominoach
178
8.9k
Testing 201, or: Great Expectations
jmmastey
25
5.7k
The Brand Is Dead. Long Live the Brand.
mthomps
48
2.9k
It's Worth the Effort
3n
177
26k
Designing with Data
zakiwarfel
91
4.2k
Bootstrapping a Software Product
garrettdimon
299
110k
Robots, Beer and Maslow
schacon
154
7.3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
182
15k
What the flash - Photography Introduction
edds
64
10k
Gamification - CAS2011
davidbonilla
75
4.1k
KATA
mclloyd
12
9.7k
Transcript
Go Memory usage Heap Goroutine stack P1 mcache main frame
BONUS_PERCENTAGE 10
Go Memory usage Heap Goroutine stack P1 mcache main frame
john BONUS_PERCENTAGE 10 Employee:new name “John” salary 5000 sales 5 bonus 0
Go Memory usage Heap Goroutine stack P1 mcache main frame
john BONUS_PERCENTAGE 10
Go Memory usage Heap Goroutine stack P1 mcache main frame
john BONUS_PERCENTAGE 10 findEmployeeBonus salary 5000 noOfSales 5
Go Memory usage Heap Goroutine stack P1 mcache main frame
john BONUS_PERCENTAGE 10 findEmployeeBonus salary 5000 noOfSales 5 bonusPercentage 0
Go Memory usage Heap Goroutine stack P1 mcache main frame
john BONUS_PERCENTAGE 10 findEmployeeBonus salary 5000 noOfSales 5 bonusPercentage 0 getBonusPercentage salary 5000
Go Memory usage Heap Goroutine stack P1 mcache main frame
john BONUS_PERCENTAGE 10 findEmployeeBonus salary 5000 noOfSales 5 bonusPercentage 0 getBonusPercentage salary 5000 percentage 500
Go Memory usage Heap Goroutine stack P1 mcache main frame
john BONUS_PERCENTAGE 10 findEmployeeBonus salary 5000 noOfSales 5 bonusPercentage 0 getBonusPercentage salary 5000 percentage 500 return 500
Go Memory usage Heap Goroutine stack P1 mcache main frame
john BONUS_PERCENTAGE 10 findEmployeeBonus salary 5000 noOfSales 5 bonusPercentage 500
Go Memory usage Heap Goroutine stack P1 mcache main frame
john BONUS_PERCENTAGE 10 findEmployeeBonus salary 5000 noOfSales 5 bonusPercentage 500 bonus 2500
Go Memory usage Heap Goroutine stack P1 mcache main frame
john BONUS_PERCENTAGE 10 findEmployeeBonus salary 5000 noOfSales 5 bonusPercentage 500 bonus 2500 return 2500
Go Memory usage Heap Goroutine stack P1 mcache main frame
john BONUS_PERCENTAGE 10 mspan Employee name “John” salary 5000 sales 5 bonus 2500
Go Memory usage Heap Goroutine stack P1 mcache main frame
john BONUS_PERCENTAGE 10 mspan Employee name “John” salary 5000 sales 5 bonus 2500