This is largely determined by your Xmx setting to the JVM. The JVM will typically (eventually) use all of the heap memory available defined by Xmx. Other relevant settings would include the per-thread stack size settings. I haven’t seen any reference to such control in Julia. Discussions here Limit Julia Memory and here Julia vs. Java on embedded
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Julia memory overhead | 5 | 4692 | February 5, 2017 | |
| Limit / Measure Juliaprogram Memory / RAM consumption | 3 | 741 | July 9, 2023 | |
| Restricting memory available to Julia | 0 | 553 | March 12, 2017 | |
| Embedding Julia in the Java Virtual Machine | 11 | 5453 | October 5, 2021 | |
| Heap-size-hint usage recommendations | 3 | 2173 | May 30, 2023 |