ivo welch
2023-Nov-27 04:42 UTC
[Rd] More Detail on "Error : vector memory exhausted (limit reached?)"
Would it be possible to enhance this error message? Could the message say how large the limit was that was reached? Is it that the limit for one particular vector has been exceeded (and to how much would it have grown vs. how much was allowed?), or is it that the entire memory space has been exceeded (and rm'ing other objects could fix this)? regards, /iaw [[alternative HTML version deleted]]
Tomas Kalibera
2023-Nov-27 09:17 UTC
[Rd] More Detail on "Error : vector memory exhausted (limit reached?)"
On 11/27/23 05:42, ivo welch wrote:> Would it be possible to enhance this error message? Could the message say > how large the limit was that was reached? Is it that the limit for one > particular vector has been exceeded (and to how much would it have grown > vs. how much was allowed?), or is it that the entire memory space has been > exceeded (and rm'ing other objects could fix this)?It is the latter, as the message says, the vector memory is exhausted. Even after a gc is executed, there is not enough free memory on the vector heap to allocate the vector. See ?Memory and ?mem.maxVSize for more. Use mem.maxVSize() to see if there is any limit set - the default is platform dependent. In principle, yes, removing objects could fix this. Tomas> > regards, /iaw > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel