|
|
In article <Xns94C560E9071CCraf256com@203.29.75.35>,
"Rafal 'Raf256' Maj" <spa### [at] raf256com> wrote:
> Interesting - this spot is beeing in different position in each render
> (with same source !) so it is some kind of memory-leek or uninitialized
> variable (btw You dont use tools like Electric Fance to debug?).
A memory leak occurs when memory is allocated but never released. The
only result is that the program uses more memory than it should...if it
leaks enough memory, it can use up all that is available. It will not
cause any difference in the resulting image.
Electric Fence provides "guard pages", areas of memory before and after
allocations that account for buffer overruns or underruns. This kind of
error could cause rendering problems, but is more likely to crash.
Electric Fence does not check for using uninitialized variables or stale
pointers, and a quick look at the POV-Ray source code will reveal that
it already includes facilities for debugging memory problems, including
leaks, double frees, and so on.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/
Post a reply to this message
|
|