Sorry Erel.
I should clarify. Not talking about process global's.
I did modify the thread title but I do believe this has everything to do with Java.
If I have a 3000 lines in a module, NOT a class... and call one method. Does Java load all 3000 lines to find that one method?
OR... Did it just load it on startup? Did I waste the RAM for 3000 lines of code to call a sub with 30 lines of code?
If i Have class and do not instantiate it? Not used it at the moment. Maybe never used in the current configuration. Is my class in memory not being used but waiting? Or does java wait for me to make the call and then allocate memory?
Thanks.