POV-Ray : Newsgroups : povray.general : Low Memory Footprint Server Time
27 Nov 2024 14:40:15 EST (-0500)
  Low Memory Footprint (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: ChamanSingh
Subject: Low Memory Footprint
Date: 5 Aug 2008 06:40:00
Message: <web.48982d491b7d5971b5cc26d30@news.povray.org>
Hello,

I have very large triangulated surface mesh and it seems that PovRay
allocate large memory during calculation. Isn't ray tracing is an
embarassingly parallel procedure ? Therefore, I was wondering if it
is possible to have low memory footprint version of PovRay where
performance is not the most important criteria.

I will also appreciate if someone gives some links to a Multi-Core
implementation of PovRay.

Thanks.

With regards.

Chaman Singh Verma
Poona, India


Post a reply to this message

From: Warp
Subject: Re: Low Memory Footprint
Date: 5 Aug 2008 09:38:46
Message: <489857e6@news.povray.org>
ChamanSingh <nomail@nomail> wrote:
> I will also appreciate if someone gives some links to a Multi-Core
> implementation of PovRay.

  http://povray.org/

-- 
                                                          - Warp


Post a reply to this message

From: Sven Littkowski
Subject: Re: Low Memory Footprint
Date: 5 Aug 2008 11:43:54
Message: <4898753a$1@news.povray.org>
Well, in my eyes it makes sense to invest some Rupees and buy additional 
memory. Memory is not that expensive, and the results pay off.

There was a time I tried with a small amount of memory, but I feel much 
better now with the current amount of RAM. I can do all the scenes I want, 
the way I want.

I hope it's possible for you to get more RAM.


Post a reply to this message

From: Rarius
Subject: Re: Low Memory Footprint
Date: 5 Aug 2008 17:42:13
Message: <4898c935@news.povray.org>
"ChamanSingh" <nomail@nomail> wrote in message 
news:web.48982d491b7d5971b5cc26d30@news.povray.org...
> Hello,
>
> I have very large triangulated surface mesh and it seems that PovRay
> allocate large memory during calculation. Isn't ray tracing is an
> embarassingly parallel procedure ? Therefore, I was wondering if it
> is possible to have low memory footprint version of PovRay where
> performance is not the most important criteria.

Changing something like that is a huge undertaking. It would require a 
massive change to the inner workings of POV.

> I will also appreciate if someone gives some links to a Multi-Core
> implementation of PovRay.

The official 3.7 beta version of PovRay is multi-threaded. I use it on a 
quad core with great effect. It can be downloaded from 
http://www.povray.org/beta/

Rarius


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Low Memory Footprint
Date: 5 Aug 2008 18:33:19
Message: <4898d52f@news.povray.org>
ChamanSingh wrote:
> I have very large triangulated surface mesh and it seems that PovRay
> allocate large memory during calculation. Isn't ray tracing is an
> embarassingly parallel procedure ? Therefore, I was wondering if it
> is possible to have low memory footprint version of PovRay where
> performance is not the most important criteria.

If you don't have too much RAM, but performance isn't important, just let it
swap to disk like crazy :)


Post a reply to this message

From: ChamanSingh
Subject: Re: Low Memory Footprint
Date: 6 Aug 2008 12:10:01
Message: <web.4899cbe58a560d6ed5130d5a0@news.povray.org>
Hello Sven,

I wish things were that simple, but what can I do when my lab data generate
data of more than few TeraBytes and not few GB. Yes, your suggestion is very
great but impractical in many senses.

I just wanted to get an unbiased opinion about this topic, and looking at the
response, I think, we may have to re-implement PovRay type system with very low
memory requirements.

And I must say that Povray is wonderful.

Thanks and With Warm regards

csv

"Sven Littkowski" <sven [] jamaica-focus [] com> wrote:
> Well, in my eyes it makes sense to invest some Rupees and buy additional
> memory. Memory is not that expensive, and the results pay off.
>
> There was a time I tried with a small amount of memory, but I feel much
> better now with the current amount of RAM. I can do all the scenes I want,
> the way I want.
>
> I hope it's possible for you to get more RAM.


Post a reply to this message

From: ChamanSingh
Subject: Re: Low Memory Footprint
Date: 6 Aug 2008 12:15:00
Message: <web.4899cce88a560d6ed5130d5a0@news.povray.org>
Nicolas Alvarez <nic### [at] gmailcom> wrote:
> ChamanSingh wrote:
> > I have very large triangulated surface mesh and it seems that PovRay
> > allocate large memory during calculation. Isn't ray tracing is an
> > embarassingly parallel procedure ? Therefore, I was wondering if it
> > is possible to have low memory footprint version of PovRay where
> > performance is not the most important criteria.
>
> If you don't have too much RAM, but performance isn't important, just let it
> swap to disk like crazy :)

I think, it is neither professionally nor technically sound answer.

With regards and Warm Wishes/

csv


Post a reply to this message

From: Warp
Subject: Re: Low Memory Footprint
Date: 6 Aug 2008 15:39:24
Message: <4899fdeb@news.povray.org>
ChamanSingh <nomail@nomail> wrote:
> I just wanted to get an unbiased opinion about this topic, and looking at the
> response, I think, we may have to re-implement PovRay type system with very low
> memory requirements.

  You won't be able to reduce the memory footprint of a mesh by any
rational means while keeping the entire mesh in memory.

  The only option would be to load only part of the mesh at a time
(ie. only the parts which are needed). Some high-end renderers support
this, but it's a quite complicated thing to implement. One possible
approach is to use the octree POV-Ray already uses for meshes so that
only those nodes which are requested are loaded, and least used nodes
freed. It's not trivial, though.

-- 
                                                          - Warp


Post a reply to this message

From: Reactor
Subject: Re: Low Memory Footprint
Date: 6 Aug 2008 16:45:00
Message: <web.489a0c498a560d6e6e78dac40@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> ChamanSingh <nomail@nomail> wrote:
> > I just wanted to get an unbiased opinion about this topic, and looking at the
> > response, I think, we may have to re-implement PovRay type system with very low
> > memory requirements.
>
>   You won't be able to reduce the memory footprint of a mesh by any
> rational means while keeping the entire mesh in memory.
>
>   The only option would be to load only part of the mesh at a time
> (ie. only the parts which are needed). Some high-end renderers support
> this, but it's a quite complicated thing to implement. One possible
> approach is to use the octree POV-Ray already uses for meshes so that
> only those nodes which are requested are loaded, and least used nodes
> freed. It's not trivial, though.
>
> --
>                                                           - Warp

Personally, I've long considered pov to have a low memory footprint anyway.
There is one thing that this post reminded me of, though.  This is applies to
running povray under windows using the GUI - open documents do take up more
memory.  I've dealt with some a fairly large meshes, something like ~8Mb when
saved as an include by itself.  If you have the document open in one of the
tabs, it does take up that extra bit of RAM.  In this case, when we are talking
about terabytes, an analogous concept could be used by splitting the large
mesh(es) into smaller chunks, then loading and rendering only the visible
portions of the mesh, or even splitting the image into chunks and rendering
each chunk separately.

  Personally, I am kind of curious as to what type of data this is.  If a mesh
that dense is completely within the camera view, the resolution required to
tell the difference between that mesh and another with 1/100th of the triangles
must be very high.  If not all of the mesh is visible, then it can be split into
pieces.

-Reactor


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Low Memory Footprint
Date: 6 Aug 2008 19:13:40
Message: <489a3024@news.povray.org>
ChamanSingh wrote:

> Nicolas Alvarez <nic### [at] gmailcom> wrote:
>> ChamanSingh wrote:
>> > I have very large triangulated surface mesh and it seems that PovRay
>> > allocate large memory during calculation. Isn't ray tracing is an
>> > embarassingly parallel procedure ? Therefore, I was wondering if it
>> > is possible to have low memory footprint version of PovRay where
>> > performance is not the most important criteria.
>>
>> If you don't have too much RAM, but performance isn't important, just let
>> it swap to disk like crazy :)
> 
> I think, it is neither professionally nor technically sound answer.

Any solution built into POV-Ray would behave a bit similar to the operating
system's virtual memory anyway. Like Warp said: "One possible
approach is to use the octree POV-Ray already uses for meshes so that
only those nodes which are requested are loaded, and least used nodes
freed." Except for the octree (which surely is an advantage), that sounds
like the "swap to disk the least recently used piece of memory" operation
the OS does whenever it feels low on physical RAM.


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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