Closed ocelhay closed 8 months ago
That is weird. ~800 patients records (with 2,045 total events & repeated instruments) shouldn't create a problem.
But I see that dictionary is huge --40K fields? Is that right?
Were new patients added in the meantime?
I'm skeptical this is related to the R version, since the server is throwing a 403 error.
What happens when the batch_size
parameter is reduced from the default of 200?
Thanks for the quick reply @wibeasley
- That is weird. ~800 patients records (with 2,045 total events & repeated instruments) shouldn't create a problem.
Yes, we previously routinely queried 11,000 + records without an issue.
- But I see that dictionary is huge --40K fields? Is that right?
Yes, that is right -unfortunately-
- Were new patients added in the meantime?
No new patients.
- What happens when the
batch_size
parameter is reduced from the default of 200?
It's the same behavior with 10
or 2000
batch_size
.
- I'm skeptical this is related to the R version, since the server is throwing a 403 error.
Yes, we are investigating the REDCap instance. Maybe we should start that first.
Yes, we are investigating the REDCap instance. Maybe we should start that first.
Maybe, but I'm not sure I have advice even where to start looking at the server. Scarcity of disk space and/or ram?
Tell me how that goes. I have some tricks to go upstream of REDCapR and even R.
I'm surprised/bummed batch_size
didn't work.
@wibeasley
Scarcity of disk space and/or ram?
That's exactly what we found out today, the server was running out of disk space. Thanks for your quick response and sorry for the "false alarm"
ha. Good catch. It's weird that 846 was repeated the magic number. BTW, I liked the random sampling approach.
oh hey, @januz.
Our targets pipeline has suddenly stopped to run last week, while we hadn't made any change in the R code or the REDCap instance.
It appears that, in our local session and on a docker container,
redcap_read
with 847 or more records has stopped working.Full
sessionInfo()
at the end:This is not related to specific ids, since we take different sample and 846 records always work while 847 will throw an error.
Returns an expected result:
returns
You do not have permissions to use the API
:Session Info