FHIR Chat · Stackoverflow JPA-Starter · hapi

Stream: hapi

Topic: Stackoverflow JPA-Starter


view this post on Zulip David Meyers (Feb 14 2022 at 09:14):

Hello all,

I am reliably getting stackoverflow errors (see log) on a transaction import of just under 7000 resources using the HAPI-FHIR-JPA starter 5.5 and a mysql database. Batch imports are no problem. But what surprises me is that the overflow error occurs directly after a few seconds and not as expected after some time, once the server is at the limit.
Any idea how I can fix this?

The server on which the HAPI is running has only 8 GB Ram, in addition the mentioned Mysql-Db is running there.
I already tried to increase the Java heapsize with:

export MAVEN_OPTS="-Xmx4096m -Xms1024m" && mvn jetty:run

but without noticeable success.

Here is the top of my stacktrace:


Last updated: Apr 12 2022 at 19:14 UTC