Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
mobmsc2
Creator
Creator

Garbage Collection: Sub Jobs and General Best practice

Does the community suggest running java garbage collection after executing subjobs or is there a better way to deal with those errors when its not possible to add more hardware to the solution?

Labels (3)
1 Reply
Anonymous
Not applicable

Hi,

Did you get "java.lang.OutOfMemoryError: GC overhead limit" issue?

The problem is that when failing with the “java.lang.OutOfMemoryError: GC overhead limit exceeded” error JVM is signalling that your application is spending too much time in garbage collection with little to show for it.

Usually, increasing the heap size with -Xmx parameter can give a quick fix for this kind of issue.

It is recommended that you check or profile the job design. Performance issue usually cause by the DB connection or the job design.

Hope this link will help:https://plumbr.eu/outofmemoryerror

Best regards

Sabrina