<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>playjp-gary</author_name>
  <author_url>https://blog.hatena.ne.jp/playjp-gary/</author_url>
  <blog_title>PLAY DEVELOPERS BLOG</blog_title>
  <blog_url>https://developers.play.jp/</blog_url>
  <categories>
    <anon>コスト最適化</anon>
  </categories>
  <description>こんにちは。PLAY CLOUD本部プラットフォーム技術部 開発第2グループ所属のガリです。 とあるサーバーレス関数で Out of Memory (OOM) が発生しました。処理するデータ量が増えたため、暫定対応としてメモリ割り当てを増やしたところ、問題は一時的に解消されたようです。しかし、メモリを増やすことでコストが上がってしまい、さらにデータ量が増えれば増えるほど、将来的に再発する可能性があります。コストを抑えつつ再発を防止するためには、サーバーレス関数の最適化が必要でした。 問題となったボトルネックを特定するために、プロファイラを使用してみました。 対象のサーバーレス関数はそれほど複雑…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevelopers.play.jp%2Fentry%2F2025%2F10%2F28%2F180000&quot; title=&quot;Visual Studio Code のデバッガーで Out of Memory を解消する - PLAY DEVELOPERS BLOG&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-ak.f.st-hatena.com/images/fotolife/p/playjp/20251028/20251028191634.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-10-28 18:00:00</published>
  <title>Visual Studio Code のデバッガーで Out of Memory を解消する</title>
  <type>rich</type>
  <url>https://developers.play.jp/entry/2025/10/28/180000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
