You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm quite new to julia, but i've noticed that there seems to be a memory leak in the HDF5 package in julia version 1.0.2 with the "HDF5" package is 0.10.2.
If i run the following code (Ubuntu 18.04)
using HDF5
using LinearAlgebra
function HDF5MemoryLeak1(Num)
MyArray=randn(1000,100)
fid=h5open("testfile.hdf5","w")
close(fid)
end
function HDF5MemoryLeak2(Num)
#MyArray=randn(1000,100)
fid=h5open("testfile.hdf5","w")
close(fid)
end
function HDF5MemoryLeak3(Num)
MyArray=randn(1000,100)
#fid=h5open("testfile.hdf5","w")
#close(fid)
end
function HDF5MemoryLeak4(Num)
NyMarray=randn(1000,100)
NyMarray=nothing
fid=h5open("testfile.hdf5","w")
close(fid)
end
N=2*10^3
for j in 1:N
println("$j of $N")
HDF5MemoryLeak(j)
end
If i run this file and replace in the loops HDF5MemoryLeak by HDF5MemoryLeak1, HDF5MemoryLeak2 or HDF5MemoryLeak3 i get the following reads on top
I'm quite new to julia, but i've noticed that there seems to be a memory leak in the HDF5 package in julia version 1.0.2 with the "HDF5" package is 0.10.2.
If i run the following code (Ubuntu 18.04)
If i run this file and replace in the loops HDF5MemoryLeak by HDF5MemoryLeak1, HDF5MemoryLeak2 or HDF5MemoryLeak3 i get the following reads on top
So it looks like one their own, the hdf5 module and the linear algebra package to not leak memory, but together they do?
Ive seen this discussion #349 on memory leaks, but i'm not sure this is the same issue.
The text was updated successfully, but these errors were encountered: