It is an academic question. If I have a constant number of variables, objects, etc. And we assume that GC will not kick in, and there is no bottlenecks. Could some other factor force my application memory to fluctuate? In such a scenario would allocated by my process memory stay constant?
Share
You could call unmanaged functions using interop which modify the amount of available memory. Also the JIT compiler might kick in at any moment to convert the IL to machine code and probably consume memory. Also assuming that GC won’t kick in is not something which you can actually assume if you use .NET, so any conclusion you draw starting from a wrong assumption will be wrong. So to answer your question you cannot assume that memory will stay constant.