only in this topic
Open this post in threaded view
I have below lines of code to understand how R manages memory.
*package ‘pryr’ was built under R version 3.4.3 *
> mem_change(x <- 1:1e6)
> mem_change(y <- x)
> mem_change(x < NA)
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
But I dont understand below
Why memory consumption increased here while deleting an object, although by
a small amount?
Any detailed explanation will be appreciated. Thanks,
[[alternative HTML version deleted]]
mailing list -- To UNSUBSCRIBE and more, see
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Return to R help
1 view|%1 views
Free forum by Nabble
Edit this page