Displaying 1 result from an estimated 1 matches for "1534mb".
Did you mean:
134mb
2007 Feb 16
0
R_decompress1 and zlib
...readBin(zz, integer(), 14, size = 4)
> data.raw <- readBin(zz, raw(), 1e6)
> close(zz)
> ## it works fine up to here
> mydata <- .Call('R_decompress1', data.raw)
Error: cannot allocate vector of size 1976123 Kb
In addition: Warning messages:
1: Reached total allocation of 1534Mb: see help(memory.size)
2: Reached total allocation of 1534Mb: see help(memory.size)
> length(data.raw)
[1] 481
The .Call is, where R complains about not having enough memory.
Interestingly, when I generate some test-data, compress it, write it to a
file, read it from the file and decompress it,...