howbig(nrow, ncol, unit=.UNIT, unit.prefix=.PREFIX, unit.names=.NAMES,
..., type="double", intsize=4)
howbig.par(nrow, ncol, cores=1, par="balanced", unit=.UNIT,
unit.prefix=.PREFIX, unit.names=.NAMES, ..., type="double",
intsize=4, ICTXT=0, bldim=c(4, 4))
howbig.par()
with par="dmat"
.howbig()
returns a memuse
class object.
howbig.par()
returns a list of 2 elements, each of class
memuse
. One is the total memory usage, the other is the
local memory usage.howbig()
simply
returns the size (as a memuse
object), while howbig.par()
is the parallel, distributed analogue. The latter returns the memory
usage of a distributed, objecthowmany
# size of a 1000x1000 matrix
howbig(1000, 1000)
Run the code above in your browser using DataLab