When we start threads in a Java program, is there any way for us to assign memory limit to each one of them?
Java
I mean we assign something like this for a
You can increase thread stack size with -Xss. It will apply to every thread. Heap is shared so you can´t change it for threads separatelly.
-Xss