OHDSI Home | Forums | Wiki | Github

Out of memory when running Cohort Diagnostics

Hi there,

I am running the Cohort Diagnostics package on 10 cohort definitions against Optum Market Clarity, but keep running into the “Exception in thread “RingBufferThread” java.lang.OutOfMemoryError: Java heap space” error. I have tried increasing the memory for Java up to 700 gb, but nothing changes, which makes me think there’s a leak in memory somewhere, but my knowledge kinda stops there. I enclosed here screenshots. The error always happen at the data fetching step after the temporal characterization.

Any suggestion is much appreciated.

t