Hi Team, I am using elementary in dbt, getting bel...
# community-support
c
Hi Team, I am using elementary in dbt, getting below error when I m running in prod. dbt version - 1.5.1 Elementary version - 0.13.0 Can you please suggest how to resolve above error?. Thanks!.
h
I got this error when I ran out of memory. I was running the command from a container without enough resources.
o
Hi @Chandrasekhar V blob wave can you share your
edr.log
file? privately is cool if you prefer
c
@Henrique Oliveira - Thanks for response. In my case also it’s running for couple of days and failing after that in prod. How did you fix it ? We are using gitlab cicd to schedule dbt jobs.
@Ofek Weiss - For failed jobs , It did not generate edr.log file as its failed at get_model_runs. For successfull runs only I see edr.log file.
h
I increased the amount of resources for each pod, in my case I'm using airflow and K8s operator, so it's quite easy to increase memory. I'm not sure on how to proceed using gitlab.
o
@Chandrasekhar V thats interesting, as even for failed edr commands there should still be an
edr.log
file generated. Can you share a bit more info regarding how exactly your pipeline looks like? what are the commands running and where? and any other info can be good
c
Sure. Actually the elementary Job is running for 2 days successfully in prod and after that it’s failing at this step “elementary_cli.get_models_runs". Sometimes job is stuck at this step and running for longer time and throws above error. Below Command we are using : edr report —project-name curated -t curated —env prod —days-back 60 —profiles-dir edr_config/ —project-dir .
I’m using gitlab CICD to run dbt pipeline with elementary.
@Ofek Weiss , can you please help? Thanks!.
I have tried to upload edr logs when it fails. But I got below error.
o
Hmmm, 60 days back is a long time, so this might be a memory issue, how much memory do your Gitlab runners have?