Skip to content

parallel LU factorization memory leak #317

Closed
JuliaLang/julia
#30425
@thraen

Description

@thraen

I encountered a memory leak when I tried to solve LU-factorizations in parallel:

const m     = 100 
const n     = 100

function doit()
    x   = speye(m*n)
    X   = lufact(x)

    p   = rand(m,n)

    for i=1: 10000
        @sync @parallel for t= 1:100
            ax  = X\p[:]
        end     
        println(i)
        #@everywhere gc()
    end
end
doit()

Metadata

Metadata

Assignees

No one assigned

    Labels

    parallelismParallel or distributed computationsparseSparse arrays

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions