![]() |
|
#1
|
|||
|
|||
i want know how to remove non use memory locationafter the c compilation & run ,the memory allocation still there, how can i remove that not useful memory address ?any idea or soft available ??
pls help me ? |
|
#2
|
|||
|
|||
Re: i want know how to remove non use memory locationQuote:
1. How do you know the memory hasn't been deallocated after the program is terminated? 2. What operating system? 3. What compiler? 4. Can you show us the code? Regards, Dave |
|
#3
|
|||
|
|||
Re: i want know how to remove non use memory locationQuote:
my os is windows XP compiler Turbo 3.0 ,boarland c++; code like CPP / C++ / C Code:
Last edited by LuciWiz : 24-Sep-2006 at 04:31.
Reason: Please insert your C/C++ code between [cpp] & [/cpp] tags
|
|
#4
|
||||
|
||||
Re: i want know how to remove non use memory locationYou didn't answer Dave's first question:
Quote:
__________________
Please read these Guidelines before posting on the forum "A person who never made a mistake never tried anything new." Einstein |
|
#5
|
|||
|
|||
Re: i want know how to remove non use memory locationQuote:
When you execute a program, the operating system allocates a certain amount of memory space to that program (for the executable operation codes, for the variables declared in the program and for other stuff, like stack space for calling functions, etc.). The operating system loads the program into some part of physical memory (of its own choosing) and maps the physical memory region into the virtual memory space of the program and then starts the program. As long as the program is executing, it owns a certain amount of virtual memory. The operating system knows (and keeps track of) which processes (programs) are running, and what memory they have been granted. When the program terminates (for whatever reason) the operating system reclaims the memory automatically. That's what operating systems do. Regards, Dave |
|
#6
|
|||
|
|||
Re: i want know how to remove non use memory locationthanks mr dave
i did understand |
Recent GIDBlog
Python ebook by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need help with a console menu system | BullBuchanan | C++ Forum | 6 | 20-Aug-2006 14:46 |
| Pipeline freeze simulation | darklightred | C++ Forum | 6 | 27-Jul-2006 19:37 |
| How to read particular memory location ? | realnapster | C Programming Language | 10 | 10-May-2006 09:11 |
| Pointer Usage in C++: Beginner to Advanced | varunhome | C++ Forum | 0 | 19-Aug-2005 09:25 |
| [Tutorial] Pointers in C (Part I) | Stack Overflow | C Programming Language | 1 | 08-Apr-2005 18:35 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The