Answer the question
In order to leave comments, you need to log in
Why is the stack so small?
Large programs consume a lot of RAM. And the stack is only 1 mb. It turns out that gigabytes of RAM are occupied by types
object
string
class
interface
delegate
And another sub-question:
There is a class. It contains an int variable. Does it occupy memory on the stack or on the heap?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question