IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.
iPhone向けのウェブアプリでJavascriptを使うと、メモリリークを調べ方がちょっとわからなかったので、まとめてみました。 1) iPhoneのシステム状態を調べるにはMacとInstruments(Xcodeの付属ソフト)が必要です。 また、iPhoneのSafariのメモリリークを調べることができない(?)ため、UIWebViewを実装したダミーアプリを制作しておきます。 2) iPhoneをMacに繋ぎます。 3) MacでXcodeを立ち上げて、ダミーアプリを「ビルド」実行後、「実行>パフォーマンスツールを使って実行>Leaks」を選択します。 4) Instrumentsが起動するので、「Record」をクリックするとメモリリークチェックをしながらiPhoneのアプリが起動します。 メモリリークの見方がちょっとわかりにくいですが、ブレークポイントなどを駆使しながらタイミ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く