Solve JobServer memory errors for 5.7.1 or older
If you are using an installation of JobServer version 5.7.1 or older, you may experience memory errors. To resolve these errors, do the following:
- Open Collibra Console.
Collibra Console opens with the Infrastructure page. - In the tab pane, click the Jobserver whose configuration you want to edit.
- Click Infrastructure configuration.
- Click Edit configuration.
- Edit the option Spark memory to 40G.
- Click JVM configuration.
- Edit -XX:+UseG1GC to -XX:+UseParallelGC.
- Click Context JVM configuration if available. If not, skip the next step.
- Edit -XX:+UseG1GC to -XX:+UseParallelGC.
- Click Save all.
- Restart the Jobserver.
If the above is not available in your Collibra Console, then proceed as follows:
- On the server that runs the Jobserver service, go to %<collibra installation directory>%/spark-jobserver/conf/.
Tip The default installation directory on Linux is /opt/collibra, on Windows C:\collibra
- Open the file jobserver.conf for editing.
- In the spark.context-settings section, edit the driver memory (heap memory) to 40 GB:
driver-memory="40G"
- Save and close the file.
- Open the file jobserver.default.conf for editing.
- In the spark.context-settings section, edit the driver memory (heap memory) to 40 GB:
driver-memory="40G"
- Save and close the file.
- Open the file jvm.conf for editing.
- Replace the -XX:+UseG1GC option by -XX:+UseParallelGC.
- Save and close the file.
- Open the file jvm.default.conf for editing.
- Replace the -XX:+UseG1GC option by -XX:+UseParallelGC.
- Save and close the file.
- Open the file context_jvm.conf for editing, if available. If the file is not available, skip the next two steps.
- Replace the -XX:+UseG1GC option by -XX:+UseParallelGC.
- Save and close the file.
- Restart the Jobserver service via Collibra Console.