Skip to content

Memory issue when using dataProcess function with multicore #177

Open

Description

@smartinez-yatiribio

dataProcess() function, when using numOfCores > 1, was copying the input data to all the worker processes. That becomes a real problem when working with a very large input dataset.
In addition, the parallel processing loop was done over individual proteins, instead of over chunks of data.
The proposed change, using packages foreach and doParallel, splits the data into chunks and only sends one chunk to each of the workers.

Activity

  1. banfai commented on Nov 9, 2026

    @banfai

    hi @tonywu1999 @mstaniak I would like to ask if the recent commits are planned to be added to Bioconductor 3.24? The current 4.21.1 is before #218 and #222 and these two are bringing huge performance improvements:
    #218 peak memory consumption down 25-50% with 4 cores
    #220 extra 2-3x speedup (one run with 8x, and one with 12x speedup on 4 cores compared to 1 core)

    based on the release schedule I think it's still on time

    thanks in advance!

  2. tonywu1999 commented on Nov 24, 2026

    @tonywu1999
    Contributor

    @banfai

    Hi I'm just seeing this. Yes, the current plan is to bring it into Bioconductor Release 3.24. This current issue was the main motivation for those changes.

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