I know that when you create a variable a set amount of memory is set aside for that variable. But what if there is no avalible memory? What happens?
Printable View
I know that when you create a variable a set amount of memory is set aside for that variable. But what if there is no avalible memory? What happens?
then the program doesn't run and you get an error message from the comp.
I doubt you could run out of memory, unless you're programming for a Commodore64. Nowadays, computers have as much as 2GB of RAM, and 4GB of virtual memory.
I know that, but I am saying "what if...".
Well, 4GB is the theoretical maximum.
Wow!!! Don't go overboard, i'd say 512mbQuote:
Originally posted by Yawgmoth
Nowadays, computers have as much as 2GB of RAM
Once again I say: 2GB is a theorectical maximum.
Windows XP can use 4GB of physical ram. You can easily buy 1GB sticks of ram, so it's something you could do with most newer motherboards.
Quzah.