Julia vs. Java on embedded

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