Threads and Memory

Hi, I have a question that is not in fact about codification but about how does java handles the memory on threads.

Does a Thread a limited predefined amount of memory?

If that thread creates more threads, the new threads will hace any memory limitation?

or any thread hace just the same resources avaible as the whole application?

[356 byte] By [MelGohana] at [2007-11-27 3:54:14]
# 1
Hi,all threads share the same heap.However each thread has a separate stack, and you can possibly tune the stack size using one of the Thread constructors (read also all the warnings about platform dependent implementation and interpretation of this parameter!)
martin@worka at 2007-7-12 8:58:20 > top of Java-index,Java Essentials,Java Programming...