# Yet another question about Julia's high RAM usage

**URL:** https://discourse.julialang.org/t/yet-another-question-about-julias-high-ram-usage/130693
**Category:** Internals & Design
**Tags:** memory
**Created:** [July 14, 2025, 8:17am UTC](https://discourse.julialang.org/t/yet-another-question-about-julias-high-ram-usage/130693 "2025-07-14T08:17:15Z")
**Posts on this page:** 1
**Showing post:** 26

<div class="post-metadata">

### Author: ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)
#### Post date: [July 24, 2026, 2:52pm UTC](https://discourse.julialang.org/t/yet-another-question-about-julias-high-ram-usage/130693/26 "2026-07-24T14:52:34Z")

</div>

> [@Benny](#):
>
> 1. an OpenBLAS implementation that preallocates buffers to accelerate matrix multiplication that cannot be removed from `Base`

Well, it can be removed from Base, a lot can be removed, I’ve experimented with that:

> <https://github.com/PallHaraldsson/julia/pull/4>
>
> See: https://github.com/JuliaLang/julia/issues/50833#issuecomment-1671906912
> 
> …It's 22% faster startup because the sysimage is 33% smaller.
> 
> With a minor breaking change it would be 30.2% faster and 37.5% smaller.

> It’s 22% faster startup because the sysimage is 33% smaller.

> [@bensetterholm](#):
>
> It’s all fun and games until you try to deploy your “simple” program to a Raspberry Pi and regret your decision of buying the 2 GB model…

It helps to make the sysimage smaller. You don’t need to use my fork of Julia, just the sysimage it generates. It’s entirely supported to use Julia with alternative sysimage with `-J, --sysimage <file>` Start up with the given system image file

Startup of Julia (and memory use) is O(n) in sysimage size, if I recall, roughly. While [Open]BLAS can be dropped, helpful for some users, it only allocates virtual memory, no cost until used.

> [@ParadaCarleton](#):
>
> Sounds like this would be a much smaller problem if Julia wasn’t JAOT compiled.

And that’s an option now:

> [@Joovy - Faster compilation](https://discourse.julialang.org/t/joovy-faster-compilation/137945/1):
>
> Joovy uses three tiers. Tier 0 is basically not-compiled. Fast to load, but slow to execute.

More Python like then. you would also set -O0 before, but then for all code.

---

_[View the full topic](https://discourse.julialang.org/t/yet-another-question-about-julias-high-ram-usage/130693)._
