Closed deusaquilus closed 5 years ago
After a bunch of investigation
# jcmd - cassandra
Class (reserved=1086485KB, committed=42609KB)
(classes #7234)
(malloc=1045KB #9858)
(mmap: reserved=**1085440KB**, committed=41564KB)
# jcmd - orientdb
Class (reserved=**1081022KB**, committed=34878KB)
(classes #4891)
(malloc=3774KB #6641)
(mmap: reserved=1077248KB, committed=31104KB)
Although decreasing pointer space with -XX:CompressedClassSpaceSize
does indeed stop the build from timing out due to an excess of GC, the build still fails because of slowness as it runs into the 50 minute Travis limit. Looks like the only way to move forward is to restructure the build, separating out Cassandra, Orient, (and maybe Spark), into their own build stage.
Fixed via #1356
This template isn't a strict requirement to open issues, but please try to provide as much information as possible.
Version:
3.0.2-SNAPSHOT
Module:All
Database:All
After instrumenting some memory metrics, it looks like OrientDB is taking 3GB in the build and Cassandra is taking almost 2 GB in the build:
For an embedded container, it probably needs only small fraction of that. This is causing the build to stall on GC pause:
The default memory settings of OrientDB need to be decreased.
@getquill/maintainers