POV-Ray : Newsgroups : povray.beta-test : Win Beta 10 memory leak Server Time
30 Jul 2024 02:21:17 EDT (-0400)
  Win Beta 10 memory leak (Message 1 to 3 of 3)  
From: Coridon Henshaw
Subject: Win Beta 10 memory leak
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

From: Mick Hazelgrove
Subject: Re: Win Beta 10 memory leak
Date: 27 Jan 2002 14:13:09
Message: <3c545145@news.povray.org>
I was wondering about this as I was having memory problems. I was about to test it
when I saw this message.

Mick

"Coridon Henshaw" <che### [at] sympaticoca> wrote in message
news:Xns### [at] 204213191226...
>
> 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

From: Coridon Henshaw
Subject: Re: Win Beta 10 memory leak
Date: 27 Jan 2002 15:02:55
Message: <Xns91A39915C36ACCQ@204.213.191.226>
"Mick Hazelgrove" <mic### [at] mhazelgrovefsnetcouk> wrote in
news:3c545145@news.povray.org: 

> I was wondering about this as I was having memory problems. I was about
> to test it when I saw this message. 

There's another memory problem, too: renderer data isn't freed if a trace 
is aborted.  This was reported and (IIRC confirmed) a few days after B10 
was released.


Post a reply to this message

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