suzaku-io / boopickle

Binary serialization library for efficient network communication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StackOverflowError during compile when using shapeless macros

avitaln opened this issue · comments

The issue happens in scala 2.12.6. it was fine in scala 2.12.4
JDK version is 1.8.0_181

demonstration of the bug:

git clone git@github.com:avitaln/test-boopickle-shapeless.git
sbt compile

it also happens when using shapeless which was built with scala 2.12.6:

resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
libraryDependencies += "com.chuusai" %% "shapeless" % "2.4.0-SNAPSHOT"

found the problem. bigger stack needed
added .sbtopts file with -J-Xss8m
closing...