The following program consumes all available memory, presumably because the large matrices are not being garbage collected. Note that contour! is used and that if it is changed to heatmap! then garbage collection works as expected and all is fine.
using GLMakie
fig::Figure = Figure()
ax::Makie.Axis = Axis(fig[1,1])
display(fig)
while true
empty!(ax)
big_matrix::Matrix{Float64} = zeros(10_000, 10_000)
big_matrix[1,1] = 1
contour!(ax, big_matrix)
end