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
Golang Memory usage(Stack vs Heap)
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Deepu K Sasidharan
February 12, 2020
Technology
79k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Golang Memory usage(Stack vs Heap)
Deepu K Sasidharan
February 12, 2020
Transcript
13 slides
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
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
93
Delay the AI Overlords: How OAuth and OpenFGA Can Keep Your AI Agents from Going Rogue
deepu105
0
110
Auth for MCP: Secure MCP servers using OAuth
deepu105
0
110
Auth0 for AI Agents
deepu105
1
150
Securing the Future of AI: Authorization Strategies for RAG Systems using LangChain4J and OpenFGA
deepu105
0
170
Demystifying OAuth and OIDC: JFokus
deepu105
1
240
Mastering Kubernetes Security from Containers to Cluster Fortresses
deepu105
1
160
Go containerless on Kubernetes
deepu105
1
200
A Passwordless Future! Passkeys for Java Developers
deepu105
0
250
Other Decks in Technology
See All in Technology
サボる子はいねぇがー!AgentCoreハーネスの脆弱性に学ぶ、エージェントの入力バリデーション
iwamot
PRO
5
330
小さなエージェントから始めてみよう!実践コンテキストエンジニアリング
iwamot
PRO
0
110
Active Directory と Entra ID のむむむな関係
murachiakira
PRO
4
1.8k
業務でAWSをあまり使っていない私が、AWSへのモチベを保つ方法
smt7174
0
190
アラートを見直していたら営業組織への理解にちょっとだけ繋がった話
z63d
1
180
これからのデータエンジニアの役割について考える / Rethinking the Role of Data Engineers in the AI Era
okiyuki99
0
430
Agent Harnessはどう作る?事例から学ぶAI Agentの設計思想
sergicalsix
0
280
長い仕事を任せる (Workflows、クラウドセッション、Kiro Web) | 目指せ Kiro マスター 10
inariku
PRO
3
180
思考過程から秘密が漏れる:Amazon Bedrock上のKimi K3を5つの方法で攻めたら、25回中22回漏洩した話
yama3133
1
150
Kiro Crew 入門 (手を離しても進む仕事) | 目指せ Kiro マスター 11
inariku
PRO
4
720
GCASアップデート(202607-202610)
techniczna
1
300
Gifu WordPress Meetup #200 に向けて、私たちには何ができるだろうか?/ 2026-11-07 Gifu WordPress Meetup
torounit
0
260
Featured
See All Featured
Skip the Path - Find Your Career Trail
mkilby
1
290
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
Are puppies a ranking factor?
jonoalderson
2
4.2k
Mind Mapping
helmedeiros
1
440
Git: the NoSQL Database
bkeepers
PRO
433
67k
HDC tutorial
michielstock
2
1k
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
Speed Design
sergeychernyshev
33
2.2k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1.1k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
480
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.3k