Closed alexdupre closed 7 months ago
I think I've found the problem. I'll open an issue on the scala repository, but it should be possible to implement a workaround in scalasql, too.
Should be fixed in Scala 2.13.14. Thanks for reporting and getting this resolved!
I wanted to try this library and immediately got an
OutOfMemoryError
for a trivial select statement of a single row on a single table. Reducing the fields count in the table definition allowed me to run the query, but it still took several seconds to generate the query, something was clearly wrong. Reverting to scala 2.13.12 (from 2.13.13) fixed the issue, apparently the last two commit of the ArrayBuilder broke something: https://github.com/scala/scala/commits/5aa3dc5ea77800ddd2a3bdf9e7feeea57484421c/src/library/scala/collection/mutable/ArrayBuilder.scala