<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Gc on tsvinc</title>
    <link>https://tsvinc.dev/tags/gc/</link>
    <description>Recent content in Gc on tsvinc</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 31 May 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://tsvinc.dev/tags/gc/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Every GC Failed at 256 MB (Except the Boring One)</title>
      <link>https://tsvinc.dev/posts/every-gc-failed-256mb/</link>
      <pubDate>Sun, 31 May 2026 00:00:00 +0000</pubDate>
      <guid>https://tsvinc.dev/posts/every-gc-failed-256mb/</guid>
      <description>&lt;p&gt;Monday: &amp;ldquo;The JVM at 256 MB should work. Just need the right GC.&amp;rdquo;&lt;/p&gt;&#xA;&lt;p&gt;Tuesday: G1GC. OOM at 150 concurrent users.&lt;/p&gt;&#xA;&lt;p&gt;Tuesday, later: Shenandoah. OOM at 50 concurrent users.&lt;/p&gt;&#xA;&lt;p&gt;Tuesday, even later: ZGC. OOM at zero concurrent users. Couldn&amp;rsquo;t serve a single request.&lt;/p&gt;&#xA;&lt;p&gt;Wednesday: Serial GC with 7 JVM flags and 3 Micronaut properties. Survives 60 seconds before the OOM killer shows up anyway.&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-contenders&#34;&gt;The Contenders&lt;/h2&gt;&#xA;&lt;p&gt;Same app: Micronaut 5.0.0 Space Observatory, 16 REST endpoints, reactive R2DBC, 7-table PostgreSQL schema. Container: 256 MB hard limit, swap disabled. Heap capped at 64 MB (&lt;code&gt;-Xms64m -Xmx64m&lt;/code&gt;). Load: k6, ramping from 10 to 200 concurrent users over 8.5 minutes.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
