What does a ReadOnlyMemoryError mean?

Hi all :slight_smile:

I use pycall to get data from Snowflake. But sometimes I get a ReadOnlyMemoryError error. What does that mean and how to prevent it?

ReadOnlyMemoryError()
Stacktrace:
  [1] macro expansion
    @ C:\.julia\packages\PyCall\BD546\src\exception.jl:95 [inlined]
  [2] #107
    @ C:\.julia\packages\PyCall\BD546\src\pyfncall.jl:43 [inlined]
  [3] disable_sigint
    @ .\c.jl:458 [inlined]
  [4] __pycall!
    @ C:\.julia\packages\PyCall\BD546\src\pyfncall.jl:42 [inlined]
  [5] _pycall!(ret::PyCall.PyObject o::PyCall.PyObject args::Tuple{} nargs::Int64 kw::PyCall.PyObject)
    @ PyCall C:\.julia\packages\PyCall\BD546\src\pyfncall.jl:29
  [6] _pycall!
    @ C:\.julia\packages\PyCall\BD546\src\pyfncall.jl:11 [inlined]
  [7] (::PyCall.PyObject)(; kwargs::Base.Iterators.Pairs{Symbol String NTuple{5 Symbol} NamedTuple{(:user :password :account :warehouse :role) NTuple{5 String}}})
    @ PyCall C:\.julia\packages\PyCall\BD546\src\pyfncall.jl:86
  [8] receive(sql_command::String)
    @ Main.Snowflake \<user>\shared$\TrinityAPI\Ressource\Packages\julia\Snowflake\src\Snowflake.jl:26
  [9] get_NMS_symbol()
    @ Main.FillTimeDistribution.SnowflakeManager \<user>\shared$\TrinityAPI\Ressource\Projects\julia\fill_time_distribution\src\utils\snowflake_manager.jl:102
 [10] start(; is_failover::Bool)
    @ Main.FillTimeDistribution \<user>\shared$\TrinityAPI\Ressource\Projects\julia\fill_time_distribution\src\FillTimeDistribution.jl:20
 [11] top-level scope
    @ \<user>\shared$\TrinityAPI\Ressource\Projects\julia\fill_time_distribution\fill_time_distribution.jl:7
 [12] include(mod::Module _path::String)
    @ Base .\Base.jl:386
 [13] exec_options(opts::Base.JLOptions)
    @ Base .\client.jl:285
 [14] _start()
    @ Base .\client.jl:485

I had that before when my hard disk was too full. Might have other reasons.