|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (8 bit)
Join Date: Jun 2000
Location: MO
Posts: 232
|
Loaded in RAM
I was reading a Java text book the other day and it said something to effect that programs are loaded into RAM (temporary storage) from the hard drive (permanent storage). Yep, I'm still in the first chapter
![]() My question is how much of a program is loaded into RAM? Is it just the compiled code, the executable? Thanks,
__________________
Cirerrek Gigabyte GA-P55-UD3R|Intel LGA1156 2.6GHz|G.Skill 8GB DDR3|eVGA e-GeForce 260GTX SC|Corsair CMPSU-620HX|Windows 7 Pro |
|
|
|
|
|
#2 |
|
Professional gadfly
|
It depends on how the program is written. For simple programs, the entire program is loaded into memory. However, more complex programs typically load pieces of code located in external libraries as they need to use them.
|
|
|
|
|
|
#3 |
|
Member (8 bit)
Join Date: Jun 2000
Location: MO
Posts: 232
|
So a more complex program would load itself and its most basic/necessary libaries and then load and off load additional libraries as needed?
Thanks, Cirerrek |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|