Difference between revisions of "Variable"
(spam revert) |
m (minoro) |
||
Line 1: | Line 1: | ||
− | + | A '''variable''' is a type of programmatic object that stores data. Many variables are primitives, such as [[Integer]]s, [[Real]]s, and [[Char]]acters. | |
− | Each variable is temporarily stored in the | + | Each variable is temporarily stored in the system {{wiki|RAM}}. Whenever the program is exited or is crashed the program's variables are cleared from the system RAM. |
Unfortunately problems with variables often cause memory leaks, which lead to the user's RAM filling up quickly, which in turn affects the entire system which must share this. Often times the user's system will become sluggish and the Page file will be called in, to write to instead of RAM (this is stored on the user's hard disk drive.) | Unfortunately problems with variables often cause memory leaks, which lead to the user's RAM filling up quickly, which in turn affects the entire system which must share this. Often times the user's system will become sluggish and the Page file will be called in, to write to instead of RAM (this is stored on the user's hard disk drive.) | ||
It is important to clear any unused variables from memory as to help fight memory leaks. | It is important to clear any unused variables from memory as to help fight memory leaks. | ||
+ | |||
{{stub}} | {{stub}} | ||
+ | |||
+ | [[Category:Variables]] | ||
+ | [[Category:Glossary]] |
Revision as of 16:26, 24 November 2007
A variable is a type of programmatic object that stores data. Many variables are primitives, such as Integers, Reals, and Characters.
Each variable is temporarily stored in the system RAM. Whenever the program is exited or is crashed the program's variables are cleared from the system RAM.
Unfortunately problems with variables often cause memory leaks, which lead to the user's RAM filling up quickly, which in turn affects the entire system which must share this. Often times the user's system will become sluggish and the Page file will be called in, to write to instead of RAM (this is stored on the user's hard disk drive.)
It is important to clear any unused variables from memory as to help fight memory leaks.
This article is a stub. You can help by adding to it. |