On Thu, Feb 16, 2012 at 07:09:22AM -0500, Leo Razoumov wrote:
> 2012/2/16 Lluís Batlle i Rossell <vi...@viric.name>:
> > On Thu, Feb 16, 2012 at 06:37:49AM -0500, Leo Razoumov wrote:
> >> In Unix it returns pointer pointing into actual environment (should
> >> not be modified or deallocated). In Windows, on the other hand,
> >> fossil_mbcs_to_utf8 allocates memory via sqlite3_malloc. This memory
> >> is not and cannot not be freed because of UNIX behavior.
> >> It results in memory leak on Windows. Should one care?
> >
> > I think the general approach in fossil is to have short-lived processes, 
> > where
> > those kind of leaks that don't represent relevant memory usage be freed 
> > together
> > with the process end.
> 
> Not really. Fossil is often run as a web-server "fossil ui" or "fossil
> server" and can live for months at a time. And preventing memory leaks
> is a good software practice regardless.

It forks for every request.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to