is it possible to write a program that will take all the unused memory locations on your computer and set them to 0?
is it possible to write a program that will take all the unused memory locations on your computer and set them to 0?
There is certainly no standard way to do it (as for platform specific methods, I cannot think of any, but there may be).
The thing is, a program is given its own address space for its memory. Now, that memory may not reside actually in the main memory, but instead may be on disk for example (swapped to disk). In modern operating systems, the program can use this memory without knowing (or caring) exactly where its memory is, and can only access its own address space (through standard methods).
The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.
It is indeed possible. The only way I can see how, though, is to write directly to the RAM. Since that may be difficult (especially in anal OS's like Windows XP) and there is not really any gain from doing so you may just want to not write such a program.
A SIMM tester program might do what you want. This this example program was found via this google search
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
what exactly is a simm tester
A program that tests RAM by writing to various addresses and then reading it back again.Originally posted by Gil22
what exactly is a simm tester
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]