Skip to content

R 3.0.0 test out-of-memory due to test relying on R>=3.1.0 no-copy behaviour #2484

@jangorecki

Description

@jangorecki

Since 18790e0 R-3.0.0 started to fail on test

# segfault when rbindlist is asked to create a DT with more than 2bn rows
DT = data.table(1:1e6)
L = vector("list", 2148)
for (i in seq_along(L)) L[[i]] = DT   # many references to the same DT to avoid actually using large RAM for this test
test(1850, rbindlist(L), error="Total rows in the list is 2148000000 which is larger than the maximum number of rows, currently 2147483647")

Last entry in Rout.fail

Running test id 1849.9      Killed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions