[fpc-pascal] methods of an object to create others objects

Henry Vermaak henry.vermaak at gmail.com
Wed Jul 7 20:05:52 CEST 2010


On 7 July 2010 15:09, Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
> On 7 July 2010 15:44, Andrew Brunner wrote:
>>
>> As far as *HUGE* problem.  Having to restart my server would be huge..
>> Especially in high scale, high available production environments.
>
> You don't have to restart the server (hardware), only the application
> or service (app server software). As in a busy environment that could
> be troublesome too, but a lot less troublesome than the whole server
> (hardware) doing down because it ran out of memory.  Get it? If not, I
> don't care at point... enough said on the topic.

Indeed, it will drag the whole system down.  That said (on linux, at
least) when the program chomps too much memory, it'll get killed by
the oom-killer anyway, so you're not much better off ignoring the
exception.  You can probably write a simple script to restart the app,
as a fallback, after it sends an email to the admin containing the
error message.

Henry



More information about the fpc-pascal mailing list