Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backend goes OOM when viewing special datasets #8269

Closed
MichaelBuessemeyer opened this issue Dec 10, 2024 · 0 comments · Fixed by #8271
Closed

Backend goes OOM when viewing special datasets #8269

MichaelBuessemeyer opened this issue Dec 10, 2024 · 0 comments · Fixed by #8271

Comments

@MichaelBuessemeyer
Copy link
Contributor

MichaelBuessemeyer commented Dec 10, 2024

Context

When viewing this dataset, the backend goes out of memory pretty fast without the user being able to see any data.

Expected Behavior

The backend should not go out of memory

Current Behavior

One of the many oom errors:

backend: java.lang.OutOfMemoryError: Java heap space
backend: 2024-12-10 10:27:38,249 [error] org.apache.pekko.actor.ActorSystemImpl - Uncaught error from thread [application-pekko.actor.default-dispatcher-36]: Java heap space, shutting down JVM since 'pekko.jvm-exit-on-fatal-error' is enabled for ActorSystem[application]
backend: java.lang.OutOfMemoryError: Java heap space
backend:        at ucar.ma2.ArrayLong.<init>(ArrayLong.java:89)
backend:        at ucar.ma2.ArrayLong$D4.<init>(ArrayLong.java:404)
backend:        at ucar.ma2.ArrayLong$D4.<init>(ArrayLong.java:394)
backend:        at ucar.ma2.ArrayLong.factory(ArrayLong.java:46)
backend:        at ucar.ma2.Array.factory(Array.java:103)
backend:        at ucar.ma2.Array.factory(Array.java:61)
backend:        at com.scalableminds.webknossos.datastore.datareaders.MultiArrayUtils$.createFilledArray(MultiArrayUtils.scala:32)
backend:        at com.scalableminds.webknossos.datastore.datareaders.ChunkTyper.createFromFillValue(ChunkTyper.scala:29)
backend:        at com.scalableminds.webknossos.datastore.datareaders.ChunkReader.$anonfun$read$5(ChunkReader.scala:33)
backend:        at com.scalableminds.webknossos.datastore.datareaders.ChunkReader$$Lambda$11110/0x0000000842de1840.apply(Unknown Source)
backend: Uncaught error from thread [application-pekko.actor.default-dispatcher-76]: Java heap space, shutting down JVM since 'pekko.jvm-exit-on-fatal-error' is enabled for ActorSystem[application]

Steps to Reproduce the bug

  1. Add the linked dataset to some orga's folder
  2. rescan the DS in the dashboard and then view the DS 💥
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant