Hi guys,

I tried to find some advice here and on google but with no luck. I'm trying 
to initialize a matrix of Float64. Since I have the values I just did

my_matrix = Float64[3.5 6.7 2 0 lots of numbers...;
                    3 0 6.4 3.4 and so on...]

the matrix was around 800 x 1800. I've got it in a .jl file. When I run it 
it takes quite a long time and uses 2.3 GB of memory. Why did it happen and 
how can I initialize this array explicitly (not from external file or 
through HDF5) without such memory usage?


Thanks,
Jack

Reply via email to