Skip to content
Prev 378640 / 398502 Next

Memory usage

Hi,

I have below lines of code to understand how R manages memory.
*Warning message:*

*package ?pryr? was built under R version 3.4.3 *
4.01 MB
976 B
976 B
864 B
-4 MB
I do understand why there is only 976 B positive change in the 3rd line.
This is because now y and x both points to the same block of memory that
holds 1:1e6.

But I dont understand below
864 B
Why memory consumption increased here while deleting an object, although by
a small amount?

Any detailed explanation will be appreciated. Thanks,