'memory.limit() bug: "memory.limit() is not longer supported". Increasing memory

When I write "memory.limit()" I get the following bug:

memory.limit() [1] Inf Warning message: 'memory.limit()' is no longer supported

What I need is to increasing the memory size... Thank you



Solution 1:[1]

it seems this isn't a bug. When reading the documentation provided with the Version 4.2.0 (2022-04-22), it says:

  • R on Windows now uses the system memory allocator. Doug Lea's allocator was used since R 1.2.0 to mitigate performance limitations seen with system allocators on earlier versions of Windows.
  • memory.limit() and memory.size() are now stubs on Windows (as on Unix-alikes).

So, I've been told, this means it's just no longer supported...

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1