[fpc-pascal] FPC Heap Management : sub-allocation ?
Brian
vmst at golden.net
Sat Nov 1 02:43:15 CET 2014
Frederic Da Vitoria wrote
> I think that Brian is asking if a memory leak could eat the system's
> memory
> irreversibly. IIUC in Windows, when the program is stopped, all it's
> memory
> is freed, even if the program leaked memory. I don't know about Linux, but
> I'd be surprised if it weren't the same.
>
> --
> Frederic Da Vitoria
> (davitof)
>
> Membre de l'April - « promouvoir et défendre le logiciel libre » -
> http://www.april.org
>
> _______________________________________________
> fpc-pascal maillist -
> fpc-pascal at .freepascal
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Yes that is exactly what I was asking. For a high reliable system running
24/7 my fear using Object Oriented code vs procedural code is exactly what
you mentioned . If there is a serious leak , or even a small one for an
extended period of time , it can take down the OS. I have seen this happen
with Sun OS and a 3rd party driver that leaked and caused the OS to crash
after an extended period of time.
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/FPC-Heap-Management-sub-allocation-tp5720419p5720428.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal
mailing list