|
On 31/07/2008, at 10:42 PM, Adam Glauser wrote:
[L]ets suppose we have PGM0,
consisting of modules MOD_0 and MOD_UTIL. We also have PGM1, consisting
of MOD_1 and MOD_UTIL.
If I now run PGM0 which calls PGM1, wouldn't there essentially be two
copies of the code for MOD_UTIL in memory?
In that case there are two copies of the same code because you have "bound by copy" but there are also two different programs loaded. You'll have the same effect if you bind a module into a service program and also into a program object.[...]
However, that's not what he asked. He said "50 people using the same interactive program that weighs 40MB". That is one program used by 50 users. In that case only one copy of the program code no matter who loaded it first nor whether the users are running in different main storage pools.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.