JLD.jl icon indicating copy to clipboard operation
JLD.jl copied to clipboard

Memory consumption

Open lucianolorenti opened this issue 6 years ago • 1 comments
trafficstars

Hello. When I load multiple JLD files, the data is not garbage collected causing memory exhaustion.

For instance, the following code keeps rising memory consumption. Is this related to HDF5.jl # 349 or could be something else?

using JLD
save("myfile.jld", "t", rand(5000, 3))
for i = 1:50000
    c = jldopen("/home/lucaino/myfile.jld", "r") do file
        read(file, "t")
    end
end

I am using Archlinux. Julia 1.1.0. JLD v0.9.1, HDF5 v0.11.1

lucianolorenti avatar May 01 '19 03:05 lucianolorenti

I think I am looking at something similar that leads to OutOfMemoryError, will need to continue experimenting but I would be glad to see if someone sees similar.

aramirezreyes avatar Sep 12 '20 23:09 aramirezreyes