[help wanted] index computing cause the java GC overhead limit exceeded
oceanlvr opened this issue · 2 comments
oceanlvr commented
when I load 1.2GB data into database use load-csv.sh script and compile the js SSV file.
Java throw a failure which caused by large data index issue.
How could I sove this? Thank you
Serving /project
New project definition coming...
Current project set to: ssv_circle
There is diff that requires recomputing indexes. Shutting down server and recomputing...
Precomputing...
drop table if exists bbox_ssv_circle_ssv0_level0layer0;
CREATE UNLOGGED TABLE bbox_ssv_circle_ssv0_level0layer0 (cx double precision, cy double precision, minx double precision, miny double precision, maxx double precision, maxy double precision, geom box)
aggDimensionFields: []
aggMeasureFields: [*]
aggMeasureFuncs: [count]
Overlapping threshold: 1.0
[WARNING]
java.lang.OutOfMemoryError: GC overhead limit exceeded
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:13 min
[INFO] Finished at: 2021-12-22T12:29:21Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:java (default-cli) on project back-end: An exception occured while executing the Java class. GC overhead limit exceeded -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
tracyhenry commented
see here: https://github.com/tracyhenry/Kyrix/wiki/Kyrix%E2%80%90S-API-Reference#a-note-on-memory-consumption
you need to adjust the memory size for the container - preferably to 12G with the current code.
oceanlvr commented
Thanks for your reply! :)