You can use the sizeof function:
help?> sizeof search: sizeof sizeof(s::AbstractString) The number of bytes in string s. sizeof(T) Size, in bytes, of the canonical binary representation of the given DataType T, if any. julia> x = rand(100, 100); julia> sizeof(x) 80000
Salchi papa
source share