POV-Ray : Newsgroups : povray.unofficial.patches : Major bug in MegaPOV Plus? : Re: Major bug in MegaPOV Plus? Server Time
2 Sep 2024 00:17:03 EDT (-0400)
  Re: Major bug in MegaPOV Plus?  
From: Thorsten Froehlich
Date: 6 Sep 2000 10:57:33
Message: <39b65b5d$1@news.povray.org>
In article <chrishuff-875123.08334206092000@news.povray.org> , Chris Huff 
<chr### [at] maccom>  wrote:

> Quite true, at least for programs written in the most common languages,
> like C or C++. I suspect there are a couple leaks in the expression
> parsing functions, and maybe two which I added by mistake with the
> turbulence scale patch, but I seem to have been getting leaks since my
> first compile of MegaPOV 0.5a, so it isn't only my code at fault. There
> are probably dozens of small leaks scattered all over the source code.

POV-Ray has a memory debugging functionality as a compile-time option.  Look
for it in mem.c.  Enabling it should create a log and further it should be
able to tell you which blocks are not freed after rendering.


       Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.