Skip to content

error reading collection #30

@StefanoSpada

Description

@StefanoSpada

Hi,
I'm trying to read in R, in chunks of 50k rows at a time, a collection of about 300k rows.

  dt <- dbGetQuery(mongo, arg, querystr,(i*chunk_size),chunk_size)

This is the error I get back
Error in .jcall(rmongo.object@javaMongo, "S", "dbGetQuery", collection, :
java.lang.OutOfMemoryError: Java heap space

The system has still plenty of memory available and the user I'm running the has the ulimit set to unlimited memory allocation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions