<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>earu</author_name>
  <author_url>https://blog.hatena.ne.jp/earu/</author_url>
  <blog_title>ソフトウェアエンジニアの雑記</blog_title>
  <blog_url>https://k-sasaki.net/</blog_url>
  <categories>
  </categories>
  <description>Javaで開発をしていると、LombokやMapStructなどのAnnotationProcessorでコードを生成していたりする結構なファイルが裏では生成されていて、コンパイル時にstackoverflowがでることがあります。 .... Caused by: java.lang.StackOverflowError .... 基本的には、スレッドやコンパイラスレッドのスタックサイズを増やすことで解消します。Gradleでの設定は下記のように行います。 gradle.propertiesファイルに下記を設定します。 # デフォルトは-Xss512k org.gradle.jvmargs=-…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fk-sasaki.net%2Fentry%2F2025%2F08%2F21%2F132257&quot; title=&quot;Javaコンパイル時にStackOverflowがでる - ソフトウェアエンジニアの雑記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-08-21 13:22:57</published>
  <title>Javaコンパイル時にStackOverflowがでる</title>
  <type>rich</type>
  <url>https://k-sasaki.net/entry/2025/08/21/132257</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
