# Surprising Error message

**URL:** <https://discourse.julialang.org/t/surprising-error-message/129483>\
**Category:** General Usage\
**Tags:** error-message\
**Created:** [May 30, 2025, 6:08pm UTC](https://discourse.julialang.org/t/surprising-error-message/129483 "2025-05-30T18:08:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SergeantMike67](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sergeantmike67/32/25103_2.png) [@SergeantMike67](https://discourse.julialang.org/u/SergeantMike67)\
**Post date:** [May 30, 2025, 6:08pm UTC](https://discourse.julialang.org/t/surprising-error-message/129483/1 "2025-05-30T18:08:48Z")

</div>

I have a script I wrote that calculates Temporal Reproductive Isolation which worked 6 months ago. It needs some tweaking but now when I run it I get:

```julia
ERROR: ArgumentError: invalid GenericMemory size: too large for system address width
Stacktrace:
 [1] GenericMemory
   @ .\boot.jl:516 [inlined]
 [2] Array
   @ .\boot.jl:578 [inlined]
 [3] Array
   @ .\boot.jl:591 [inlined]
 [4] zeros
   @ .\array.jl:578 [inlined]
 [5] zeros
   @ .\array.jl:575 [inlined]
 [6] zeros(dims::Int64)
   @ Base .\array.jl:573
 [7] CohortTable(cof::Vector{Any}, data::DataFrame)
   @ Main i:\Temporal Isolation\CohortTable.jl:11
 [8] top-level scope
   @ i:\Temporal Isolation\Temporal Isolation.jl:58

```

I have googled it and it seems to be related to an array with negative numbers or that the memory is filled up. I have 32gb of RAM with 25gb free so this shouldn’t be coming even close to filling that but that space. And again nothing has changed in the script itself and it didn’t fill up the memory then with the same dataset.

Running Julia 1.11.5 with all packages updated within the last week.

any thoughts?

---

<div class="post-metadata">

**Author:** ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Post date:** [May 30, 2025, 6:15pm UTC](https://discourse.julialang.org/t/surprising-error-message/129483/2 "2025-05-30T18:15:02Z")

</div>

How did you install Julia? What does `versioninfo()` show? And how big is that argument you’re passing to `zeros` on line 11 of your `CohortTable.jl`?

---

<div class="post-metadata">

**Author:** ![SergeantMike](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sergeantmike/32/202613_2.png) [@SergeantMike](https://discourse.julialang.org/u/SergeantMike)\
**Post date:** [June 1, 2025, 4:06pm UTC](https://discourse.julialang.org/t/surprising-error-message/129483/3 "2025-06-01T16:06:59Z")

</div>

How did you install Julia?

I honestly don’t know how I originally installed it back in Version 1.4 but likely through the package with the Atom IDE. I have been using the update UpdateJulia package since switching to VSCode in 2021 then to VSCodium in 2022.

What does versioninfo() show?

```julia
Julia Version 1.11.5
Commit 760b2e5b73 (2025-04-14 06:53 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 16 × AMD Ryzen 7 5700G with Radeon Graphics
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)
Environment:
  JULIA_EDITOR = code
  JULIA_VSCODE_REPL = 1

```

How big is that argument you’re passing to zeros on line 11?  
Shouldn’t be any larger than 60 but that maybe where the issue is.
