Quoting Felix Tilley <fetilley at earthlink.net>: > When you use the malloc function with Linux, is the memory space > allocated when the program runs, or when the malloc function executes? > > I ask this because the free function does not appear to free any memory. http://www.linuxjournal.com/article/6390 Also lookup the "copy on write" concept. Brian