Skip to content

dopar.nn=T memory error #5

Open
@brett-mckinney

Description

@brett-mckinney

For large data, npdr runs out of memory when dopar.nn=T (parallel nearest-neighbor calculation). Temporary fix is dopar.nn=F. A long-term solution may be to use big.matrix from the bigmemory library to enforce a shared-memory version of the distance matrix instead of allowing copies of the matrix to be exported to the workers.

https://stackoverflow.com/questions/31575585/shared-memory-in-parallel-foreach-in-r

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions