POV-Ray : Newsgroups : povray.advanced-users : decreasing mesh memory usage. : Re: decreasing mesh memory usage. Server Time
29 Jul 2024 04:29:47 EDT (-0400)
  Re: decreasing mesh memory usage.  
From: Warp
Date: 29 Oct 2003 10:53:34
Message: <3f9fe27e@news.povray.org>
Shay <sah### [at] simcopartscom> wrote:
> I just wasn't sure whether it
> required some action on my or a program's part in order to make this
> happen.

  Nope.

  In DOS it required, but that's about it. Any *real* operating system
will have a decent memory management system which, with the aid of the
CPU itself, will automatically swap memory pages from the RAM to the HD and
viceversa with a more or less complicated algorithm (the basic idea being
that oldest/least used memory pages are written to the HD when the OS starts
running out of RAM, and most recent/most used pages are kept in RAM).
  This happens completely automatically and transparently to the process.
The process will just see that you have eg. 2 gigabytes of memory even
though in reality you only have 256 megs of physical RAM.

  (The same memory management system will, among other things, also disallow
processes from accessing memory not reserved for them, again with the aid
of the CPU.)

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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