Open dcaud opened 3 years ago
A little more context:
This error does not appear when I run this on my local Mac or on a linux server with policy xml changed to:
<policy domain="resource" name="memory" value="4GiB"/>
<policy domain="resource" name="map" value="6GiB"/>
<policy domain="resource" name="width" value="116KP"/>
<policy domain="resource" name="height" value="116KP"/>
<!-- <policy domain="resource" name="list-length" value="128"/> -->
<policy domain="resource" name="area" value="1128MB"/>
<policy domain="resource" name="disk" value="4GiB"/>
I'm also getting this error when using a docker image. Did anyone find a workaround?
Here to say I have the same issue. The problem is exclusive to the app being hosted on shinaapps.io. When I run my app locally, I never have this problem.
Likely is a memory problem, @jhelvy. Do you have the 8GB version selected on shinyapps.io? Also, a re-install of the app may be required, b/c shinyapps.io updated the magick policies a few month ago -- those only get applied to re-installed apps, I think.
@marcjwilliams1 Removing the policy.xml file may help. Or increasing the values of the resources.
Yes I'm at 8GB. I can re-install to see if that helps.
I made a related post in the RStudio community in case someone there has a solution.
For more, see here: https://github.com/rstudio/shinyapps-package-dependencies/issues/320
I'm getting the error below when trying to write a multi-page pdf using
image_write_pdf()
.Here's a code snippet that is likely where the cache is exceeded:
This stackoverflow answer suggests that I edit policy.xml, but I can't do that on shinyapps.io.
Is there any way that your magick package for R can be modified to prevent needing to edit policy.xml. I ask because this is the 2nd similar issue I've had and getting Rstudio to change those server files takes weeks...and they may not do it. I'm worried that if I get this error fixed then another will pop up!
Thanks!