When importing my db the raise macro is an issue. It throws the transaction that caused it. Which in this case is 600M datoms. So my terminal/repl crashes.
https://github.com/replikativ/datahike/blob/12c68ee3c7796c90fddcae5117b7d9efe78b1481/src/datahike/tools.cljc#L71
Would it be possible to limit how much data is thrown?
Yes, that would make sense.
Ideally it should not throw at all.
I think the migrate namespace assumes that you can load everything into memory at once https://github.com/replikativ/datahike/blob/12c68ee3c7796c90fddcae5117b7d9efe78b1481/src/datahike/migrate.clj#L30
My repl is running with 6GB