-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exceeding Memory Limit During Measure Calculation #155
Comments
@npm526 you will have to modify pophealth, the health-data-standards gem and quality-measure-engine gem for this to work. When you're making aggregate calls in mongo, you will need to set the extra parameter. For example, this line: Should be changed to read: |
Hi Luke, Thanks. |
Probably worth making it the default now. At the time when I found it, the install guide was using an older version of MongoDB, and this option was only introduced in 2.6 (https://docs.mongodb.com/manual/reference/command/aggregate/) |
Hi Nick, |
I have implement this fix locally and it has fixed the issue. I submitted the pull requests to the health-data-standards gem, quality-measure-engine gem and popHealth. |
I have been receiving the following error when calculating the aggregate measure calculation.
"Exceeded memory limit for $group, but didnt allow external sort. Pass allowDiskUse:true to opt in"
I am trying to calculate measures for a patient population of approximately 250,000 patients and using the measure calculation API. Has anyone seen this error? Is there a way to set this parameter while using the measure calculation API?
The text was updated successfully, but these errors were encountered: