method from another class does increase memory usage RAM?
What makes you think so?
My RAM is increasing consistently while running this source code
Wait, what program? I'd like to increase my RAM as well
I mean it eats memory
Which code? (see the pinned message, it suggests the way how you can share code snippet) How exactly do you measure memory consumption?
Sorry if my questions sound odd)) The thing is that answer to your question is definitely no. But I really can't understand what happens that makes you think that object modification or static vs. non-static methods increase memory usage. Well, they may consume a little bit different amount of memory, but still it's negiligible
Обсуждают сегодня