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
Faucet ~Fight against memory leak~
Search
yagi
May 15, 2014
Technology
1
730
Faucet ~Fight against memory leak~
Fight against memory leak.
yagi
May 15, 2014
Tweet
Share
More Decks by yagi
See All by yagi
医療現場の解像度を上げるために 開発チームが行っている取り組み
sys1yagi
0
740
これどうやって動いてるんだ? Spring Framework/Bootのソースを読む
sys1yagi
1
1.3k
Kotlin コルーチンを 理解しよう 2019 - KotlinFest2019 -
sys1yagi
40
31k
5分でわかるKotlin Coroutines Flow
sys1yagi
21
18k
Androidと非同期処理 とCoroutine1.0.0
sys1yagi
12
14k
Kotlin コルーチンを 理解しよう
sys1yagi
41
24k
アーキテクチャと Scaffolding Template
sys1yagi
8
1.4k
Androidの非同期処理をKotlinコルーチンで行う
sys1yagi
3
23k
解剖Kotlin ~バイトコードを読み解く~
sys1yagi
18
10k
Other Decks in Technology
See All in Technology
Prox Industries株式会社 会社紹介資料
proxindustries
0
260
AWS Summit Japan 2025 Community Stage - App workflow automation by AWS Step Functions
matsuihidetoshi
1
220
5min GuardDuty Extended Threat Detection EKS
takakuni
0
110
Amazon S3標準/ S3 Tables/S3 Express One Zoneを使ったログ分析
shigeruoda
3
450
AWS CDK 実践的アプローチ N選 / aws-cdk-practical-approaches
gotok365
6
690
~宇宙最速~2025年AWS Summit レポート
satodesu
1
1.8k
ハノーバーメッセ2025座談会.pdf
iotcomjpadmin
0
160
強化されたAmazon Location Serviceによる新機能と開発者体験
dayjournal
2
200
Amazon Bedrockで実現する 新たな学習体験
kzkmaeda
1
500
Snowflake Summit 2025 データエンジニアリング関連新機能紹介 / Snowflake Summit 2025 What's New about Data Engineering
tiltmax3
0
300
20250625 Snowflake Summit 2025活用事例 レポート / Nowcast Snowflake Summit 2025 Case Study Report
kkuv
1
290
生成AIでwebアプリケーションを作ってみた
tajimon
2
140
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Building Adaptive Systems
keathley
43
2.6k
Balancing Empowerment & Direction
lara
1
360
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Practical Orchestrator
shlominoach
188
11k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
GitHub's CSS Performance
jonrohan
1031
460k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Transcript
Faucet ~Fight against memory leak~ potatotips #7 2014/05/15 in DeNA
https://www.flickr.com/photos/aisforangie/151880317/
ABOUT ME Twitter : @sys1yagi Blog : http://sys1yagi.com ! Android
Engineer at Cookpad https://www.flickr.com/photos/eilonwy77/9235707878/
Previous Potatotips #6 Casual checking of the memory leak.
INSUFFICIENT https://www.flickr.com/photos/nostaw21/3335955287/
MORE CASUAL https://www.flickr.com/photos/centralasian/5565136539/
https://www.flickr.com/photos/dhendrix/6644037141/
None
Faucet is … https://www.flickr.com/photos/vinothchandar/4415664247/ ✤ Auto track to fields by
AOP. ✤ Dump automatically when onDestroy() is called. ✤ Ignore primitive types and static fields.
DEMO
Mechanism https://www.flickr.com/photos/telemax/3209887483/
Compile Faucet Classes Inject Dex
None
Usage https://www.flickr.com/photos/isherwoodchris/4238118748/
None
Milestone
v0.0.1 • Auto object tracking. • dump automatically when onDestroy()
is called. • Ignore primitive types • Ignore static fields • Support Ignore Annotation(WIP) https://www.flickr.com/photos/tambako/6124292403
v0.0.2 • More intelligent leak check. • Report dialog. https://www.flickr.com/photos/strollers/164785542/
v0.0.3 • Send report to server. • Tracking and detection
on the server side. https://www.flickr.com/photos/tambako/4006576672/
https://github.com/sys1yagi/faucet Be Together! https://www.flickr.com/photos/katharina_90/4095571066/