Re: Application "Nuked"



Kristofer Skaug wrote:
> Dear all,
>
> We're having some trouble with a Delphi 6 app that sometimes just disappears
> without a trace. It happens within a timespan of typically 30 to 60 hours of
> continuous uptime. It's a heavily multithreaded system, but all threads are
> internally exception-safed (basically, a catch-all try-except block in the
> TThread.Execute method, which should report the occurrence and nature of any
> exception to a log file), so I'm rather at a loss to explain why we cannot
> see any kind of error message at all. We use no third party components or
> DLL's.
>
I don't recall seeing if anyone asked whether you are certain there are
no memory leaks. Did you check the app with Memproof or something else?
I would guess that even a small leak over a long time could deplete
your memory enough to cause an eventual crash. Normally, I would expect
some kind of a system message from Windows about low memory but I don't
know what a Delphi app does when resources run low. Even W2000 does
not have an infinite amount of resources available. What O/S are you
running? Also, have you tried building the app under other Delphi
versions, earlier or later?

Mark J. Wallin, Ph.D.
.



Relevant Pages

  • Re: Over 100 Microsoft MVPs Have Signed Online Petition - Give Us Back VB!!
    ... My prime interest is *language* stability. ... "VB data controls" are com controls, ... > I wouldn't ever want to use them in Delphi - or in VB; ... My code is core to the app, business logic that is focused on the market I ...
    (borland.public.delphi.non-technical)
  • Forms (opening) and memory leaks
    ... I have written an app for a pocketpc in vb.net. ... is that every time i open a new form, resources get used and never ... The following shows the memory usage each time I open a form: ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Unsupported 16bit resource...
    ... >all resources, icons etc, are what I expect them to be. ... >know that early versions of Delphi did suffer from this, ... I really would try isolating the App on one machine ...
    (alt.comp.lang.borland-delphi)
  • Re: EvictManagedResources
    ... The app ... > this method to free video memory when creation of additional textures ... EvictManagedResources prior to create the default resources may help. ... remove them from device memory when required. ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: Forms (opening) and memory leaks
    ... Which version of the Compact Framework are you using? ... >I have written an app for a pocketpc in vb.net. ... > is that every time i open a new form, resources get used and never ... > on the form afterwards but i still seem to lose memory. ...
    (microsoft.public.dotnet.framework.compactframework)