POV-Ray : Newsgroups : povray.beta-test : Win Beta 10 memory leak : Win Beta 10 memory leak Server Time
30 Jul 2024 00:26:20 EDT (-0400)
  Win Beta 10 memory leak  
From: Coridon Henshaw
Date: 27 Jan 2002 00:17:16
Message: <Xns91A32ED762DCcsbhccse@204.213.191.226>
Problem:

The Windows version of beta 10 does not appear to free all memory used to 
render a scene when the scene is completed.  The end result is that 
pvengine consumes increasing ammounts of memory the more renders it 
performs.  While this problem does not appear to be scene specific, the 
amount of memory retained by pvengine is proportional to the complexity of 
the scene.

Note that this does not seem to be a case of lazy heap shrinking on behalf 
of the C runtime libraries.  Memory leaked in previous renders is not 
reused in the next render; the memory requirements to render subsequent 
scenes increase by approximately the same ammount as was leaked in prior 
renders.

Test platform:

Intel compile tested on a P3-866 running Win2K.  Memory figures are from 
Task Manager.

How to duplicate:

Repeatedly render a single scene at the same resolution and use a memory 
monitoring tool (e.g. Task Manager) to note the amount of memory used by 
pvengine during and after each render.  The memory statistics in Pov's 
output will not show evidence of this problem; an external memory tool must 
be used.


Post a reply to this message

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