Re: Garbage Collection



Mark A. Andrews wrote:

DS wrote:

That being said, with some effort - it works. Now.
Otherwise, for application of this magnitude, I'd be probably still
chasing memory leaks.


The BIG difference here is that YOU can FIX the memory leaks. You
have very little control over the gc.

The big difference is that he can also program for a non-determinisitic
GC, by thinking what an allocation means. Re-using allocations,
object-pools, etc. can relieve both kinds of code from memory concerns.

If memory issues are a problem, deterministic (in this case, determined
by the programmer) deallocation can also cost a lot of time, and cause
the same problems as he is describing.
--
Rudy Velthuis [TeamB] http://www.teamb.com

"The wit makes fun of other persons; the satirist makes fun of
the world; the humorist makes fun of himself."
-- James Thurber (1894-1961),
in Edward R. Murrow television interview
.



Relevant Pages

  • Re: Garbage Collection
    ... The BIG difference here is that YOU can FIX the memory leaks. ... have very little control over the gc. ... Re-using allocations, ...
    (borland.public.delphi.non-technical)
  • Finding the memory leaks
    ... I am having issues in finding the memory leaks on solaris 8 server. ... Can anyone guide me what/where to look the memory leaks? ... Friends. ... Fun. ...
    (SunManagers)
  • Re: Memory leak in IE javascript with webservice.htc
    ... IE has lots of memory leaks, not surprising that that there is a leak ... calling xmlhttp. ... I doubt that any fix will be coming, as the soap behavior ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Memory leak in IE javascript with webservice.htc
    ... IE has lots of memory leaks, not surprising that that there is a leak ... calling xmlhttp. ... I doubt that any fix will be coming, as the soap behavior ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: MS ADO Memory Leak FIX (at last??) for VB6
    ... > Is this finaly the fix fot the long lasting memory leaks? ... in your code you are allowing/causing the recordset to implicitly create ... its connection (by setting ActiveConnection to a connection string instead ...
    (microsoft.public.vb.database.ado)