<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>watasihasitujidesu</author_name>
  <author_url>https://blog.hatena.ne.jp/watasihasitujidesu/</author_url>
  <blog_title>production.log</blog_title>
  <blog_url>https://blog.naoshihoshi.com/</blog_url>
  <categories>
    <anon>技術</anon>
  </categories>
  <description>React Nativeを使用したアプリの開発時に必要になるものはデバッガーです。デバッガーにはいくつか種類があります。 * Chrome * VSCode * Reactotron * React Native Debugger * console.log((流石にこれだけだとキツいですが)) これらの中で、私はReact Native Debuggerを使用しています。 * Chrome: debugger-uiページをアクティブにしていないと、エミュレーターにWarningが出てしまうのが気に入らない * VSCode: Vimを使っているため除外 * Reactotron: 設定ファイルを書くのに気乗りしなかった 当時(2019年初頭)、上記のような理由(消去法)でReact Native Debuggerに決まりました。 React Native Debuggerは導入も機能も充実しているのですが、唯一の欠点は長時間使っているとメモリリークしてしまうことです。 平気で5GB以上食い潰すので、スワップ使用領域が増えてPCが重くなり、気づくこともあります。 今回はこのReact Native Debuggerの長時間使用時のメモリリークを防ぐ方法について書きます。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.naoshihoshi.com%2Fentry%2F2020%2F03%2F19%2F123000&quot; title=&quot;React Native Debuggerの長時間使用時のメモリリークを防ぐ方法 - production.log&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-03-19 12:30:00</published>
  <title>React Native Debuggerの長時間使用時のメモリリークを防ぐ方法</title>
  <type>rich</type>
  <url>https://blog.naoshihoshi.com/entry/2020/03/19/123000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
