# Julia vs. Java on embedded

**URL:** <https://discourse.julialang.org/t/julia-vs-java-on-embedded/58032>\
**Category:** General Usage\
**Tags:** question\
**Created:** [March 26, 2021, 5:11pm UTC](https://discourse.julialang.org/t/julia-vs-java-on-embedded/58032 "2021-03-26T17:11:16Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Jeff\_Emanuel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeff_emanuel/32/15440_2.png) [@Jeff\_Emanuel](https://discourse.julialang.org/u/Jeff_Emanuel)\
**Post date:** [March 27, 2021, 4:39pm UTC](https://discourse.julialang.org/t/julia-vs-java-on-embedded/58032/3 "2021-03-27T16:39:13Z")

</div>

> [@ufechner7](#):
>
> RAM usage of a Java application

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](https://discourse.julialang.org/t/limit-julia-memory/34409) and here [Julia vs. Java on embedded](https://discourse.julialang.org/t/julia-vs-java-on-embedded/58032)

---

_[View the full topic](https://discourse.julialang.org/t/julia-vs-java-on-embedded/58032)._
