-
Notifications
You must be signed in to change notification settings - Fork 85
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
"The total size of the x globals exported for future expression" in R-CMD-CHECK only on ubuntu-latest (devel) GitHub Action #750
Comments
Thanks for reporting. Interesting. First of all, that error is in place to detect when we export more than with anticipated. That could become really expensive, e.g. time, but ingress and egress can also be an actual cost in some environments. Some people might be on a metered internet connection and so on. Another reason is to catch oddities like this one. Before driving deeper, it could be that there's the same problem on the other platforms/setups, but it was this one that went over the limit. To test that, please try to set a smaller limit, e.g. 75 MB instead of 500 MiB;
Add that under |
Temporarily reduce R_FUTURE_GLOBALS_MAXSIZE to 75 MiB to diagnose the problem at futureverse/future#750 (comment)
@HenrikBengtsson, thanks for the diagnostic tip. I've applied it and the problem is definitely just with the
For what it's worth, the specific function that triggers the error is It could be that other users of |
Hello. Sorry, but I'm not sure if this is the right place to report my issue because it involves the confluence of three systems, only one of which is future (GitHub Actions and the development version of Ubuntu are the others). Please redirect me if there is a more appropriate forum.
I have an R-CMD-CHECK Github Actions workflow for my package at ale/.github/workflows/R-CMD-check.yaml at main · tripartio/ale. The action verifies my package against MacOS, Windows, and three versions of Ubuntu. Everything currently passes except for
ubuntu-latest (devel)
, which fails on an issue related tofuture
.Here is the most recent failed run: R-CMD-CHECK version 0.3.0.20241118:
I already posted a bug report at the GitHub Actions thread of the Posit Community, but the few pointers I received and tried did not help: "The total size of the x globals exported for future expression" in R-CMD-CHECK only on ubuntu-latest (devel).
The numbers of exported objects specified in the log above are not unusual, but what I find very odd is the massive size of the first three listed functions:
As far as I can tell, these are all rlang functions; I have no idea why they would be so big. As far as I can tell from the build log above, it seems that the ubuntu-latest (devel) server perceives that the {future} parallelization package does not allocate enough space for the objects in my package test. None of the other builds (including the other two Ubuntu builds) report this error. It seems to me that either the {future} installation on ubuntu-latest (devel) is grossly overestimating the storage needs for the package or the other builds comfortably allocate more than 4 GB of storage for {future} parallelization. I really don't know, but I think it is more likely an error on the end of ubuntu-latest (devel). (Perhaps there's a memory leak somewhere?) I find it unlikely that my package is asking for such huge amounts of memory because I doubt the other platforms would allocate so much without complaining.
I would appreciate any pointers, including perhaps directing me to a more appropriate forum if the root issue is not with the
future
framework.The text was updated successfully, but these errors were encountered: