Re: Re[2]: [fpc-pascal] Powtils Apache and Windows Seven 64bits
On Mon, May 24, 2010 at 6:07 PM, José Mejuto wrote: > Hello FPC-Pascal, > > Monday, May 24, 2010, 8:43:08 PM, you wrote: > > MD> Okay, but if there is not memory leaks... > MD> I ever free my objects! But I did not know about no memory leaks in > MD> CGI programs... > > There are no memory leaks once the program finishes, the OS releases > all requested memory blocks, but any memory leak at close time is a > potential runtime memory hole: > > while true do begin > S:=TStringList.Create(); > [] > end; > > ;) So if a program is free of memory leaks at close time it is quite > sure you will not get any runtime memory black hole. Okay José, thanks! Marcos Douglas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re[2]: [fpc-pascal] Powtils Apache and Windows Seven 64bits
Hello FPC-Pascal, Monday, May 24, 2010, 8:43:08 PM, you wrote: MD> Okay, but if there is not memory leaks... MD> I ever free my objects! But I did not know about no memory leaks in MD> CGI programs... There are no memory leaks once the program finishes, the OS releases all requested memory blocks, but any memory leak at close time is a potential runtime memory hole: while true do begin S:=TStringList.Create(); [] end; ;) So if a program is free of memory leaks at close time it is quite sure you will not get any runtime memory black hole. -- Best regards, José ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal