I cannot increase memory allocation to R in R studio.

Hi,

I am trying to increase memory allocation to R. I run "memory.limit(size = NA) " or "memory.limit() ", but the memory doesn't increase when I check "memory.size(max = FALSE) ".

Here is my computer software information.

sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)

My memory RAM is 128GB. When I run "memory.limit(size = NA)", it shows 1370781. I also tried "memory.limit(size = 1370781) ", but "memory.size(max = FALSE)" shows only 1421.84.

Can anyone help me?

The value returned is in megabytes. So it looks likes you are using all memory. The argument max=FALSE tells you are using 1.4GB. Use TRUE to see how much is bring used.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.