POV-Ray : Newsgroups : povray.unofficial.patches : Photon Slab Building Error Server Time
1 Nov 2024 03:16:30 EDT (-0400)
  Photon Slab Building Error (Message 1 to 10 of 13)  
Goto Latest 10 Messages Next 3 Messages >>>
From: POV-Ray News
Subject: Photon Slab Building Error
Date: 25 Jun 2001 22:36:06
Message: <3b37f516@news.povray.org>
I have an 800Mhz Pentium III at work with 128Mb with a 256Mb swap file
running Windows 2000.  The following script file runs fine without any
problems.  Unfortunately when I run it on my home system with a 1.4 GHz
Pentium IV with 128Mb with a 300Mb swap file running Windows ME, I get the
message:

Slab building error.
Out of memory. Cannot allocate 327680 bytes for photons.

The system shows only 56.5Mb of RAM in use.

Any explanations?   Any suggestions?

Thanks in advance.

JP


#version unofficial MegaPov 0.7;

global_settings {
  assumed_gamma 1
  photons {
    spacing 0.00125
    gather 60, 100
    media 12, 3
    autostop 0
    jitter 1
    max_trace_level 4
    media on
  }
}

light_source{
  <-10,10,0>*2.5
  color <1,1,1>*1000
  spotlight
  point_at <0,0,0>
  radius .125
  falloff .125
  tightness 100
}

camera{
  location <0,0.05,-3>
  right <4/3,0,0>
  up y
  direction z
  look_at <0,0,0>
}

box {
  -1*<1,1,1>,1*<1,1,1>
  scale <1.0,.2,1.0>
  hollow
  material{
    texture{
      pigment{rgbf .98 } //<1,.7,.8,.95>}
      finish{
            ambient 1.0
            diffuse 0.60
            specular 1.0
            roughness 0.001
            reflection .043*4
      }
    }
    interior{
      ior 1.5
    }
  }
  photons{
    target 0.35
    reflection on
    refraction on
    ignore_photons
  }
}

box{
  <-4,-4,-4>*10,<4,4,4>*20
  texture{pigment{rgbt<1,1,1,1>}}
  interior{
    media{
    intervals 20
    scattering { 3, rgb 0.04  extinction 1}
    samples 25, 25  //use 1,4 or so for "quick" tests
    method 3
    aa_threshold .1
    aa_level 2
    jitter .2
    }
  }
  hollow
  photons { ignore_photons}
}


Post a reply to this message

From: Warp
Subject: Re: Photon Slab Building Error
Date: 26 Jun 2001 06:16:18
Message: <3b3860f1@news.povray.org>
POV-Ray News <kyn### [at] cchatcom> wrote:

  Interesting name you have chosen for yourself...

: running Windows ME

  I don't know if it would be too sarcastic to say that this is the only
thing I can think of being guilty.
  If everything I have heard about ME is true, I wouldn't be even surprised...

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


Post a reply to this message

From: Scott Hill
Subject: Re: Photon Slab Building Error
Date: 26 Jun 2001 10:55:28
Message: <3b38a260$1@news.povray.org>
"POV-Ray News" <kyn### [at] cchatcom> wrote in message
news:3b37f516@news.povray.org...
> ...1.4 GHz Pentium IV with 128Mb with a 300Mb swap file running Windows
ME, I get the
> message:
>
> Slab building error.
> Out of memory. Cannot allocate 327680 bytes for photons.
>

    Do you get any other memory related crashes/problems on your PIII ? If
you do, it may be worth checking the memory :

    1. Make sure it's seated on the motherboard correctly [1]
    2. If your memory has parity, make sure the BIOS parity checking is on.
    3. Allow the BIOS to complete the whole POST memory test [2].
    4. If all the above fail and your memory is on more than one DIMM then
try swapping round which slot they're in [1].

HTH,
--
Scott Hill.
Software Engineer.
E-Mail        : sco### [at] innocentcom
Pandora's Box : http://www.pandora-software.com

*Everything in this message/post is purely IMHO and no-one-else's*

[1] If you've not opened up your PC and dug around in its guts before there
are a couple of steps you can take to make sure you don't just make things
worse :
    a. Ground yourself ! Much of a PCs innards are sensitive to static
discharges, by grounding yourself you release any static charge you may be
carrying - the easiest way is to do this is, once you've shut your PC down
and switched it off, turn the wall socket off, but don't remove the plug -
this will keep your PC grounded and then you just need to touch your PCs
case to ground the static before you start digging around or handling
memory, video cards, and so on.
    [2] That bit during the initial boot sequence where you normally hit Esc
to stop it counting up to 134217728 a couple of times (eh, who doesn't ?).


Post a reply to this message

From: Ron Parker
Subject: Re: Photon Slab Building Error
Date: 26 Jun 2001 11:20:13
Message: <slrn9jha1j.35t.ron.parker@fwi.com>
On Tue, 26 Jun 2001 15:54:07 +0100, Scott Hill wrote:
>    [2] That bit during the initial boot sequence where you normally hit Esc
>to stop it counting up to 134217728 a couple of times (eh, who doesn't ?).

I don't.  I don't reboot often enough to make it necessary, and I'm often 
not even in front of the keyboard when it gets to that point.

Oh, and I set the BIOS to "fast memory test"

-- 
plane{-z,-3normal{crackle scale.2#local a=5;#while(a)warp{repeat x flip x}rotate
z*60#local a=a-1;#end translate-9*x}pigment{rgb 1}}light_source{-9red 1rotate 60
*z}light_source{-9rgb y rotate-z*60}light_source{9-z*18rgb z}text{ttf"arial.ttf"
"RP".01,0translate-<.6,.4,.02>pigment{bozo}}light_source{-z*3rgb-.2}//Ron Parker


Post a reply to this message

From: Bob H 
Subject: Re: Photon Slab Building Error
Date: 26 Jun 2001 12:03:48
Message: <3b38b264@news.povray.org>
"POV-Ray News" <kyn### [at] cchatcom> wrote in message
news:3b37f516@news.povray.org...
> I have an 800Mhz Pentium III at work with 128Mb with a 256Mb swap file
> running Windows 2000.  The following script file runs fine without any
> problems.  Unfortunately when I run it on my home system with a 1.4 GHz
> Pentium IV with 128Mb with a 300Mb swap file running Windows ME, I get the
> message:
>
> Slab building error.
> Out of memory. Cannot allocate 327680 bytes for photons.
>
> The system shows only 56.5Mb of RAM in use.

I was trying to think of when I had seen something like that recently, maybe
it was while my System Resources were so low things started going wrong.  I
hibernate this computer all the time and it eventually degrades to the point
of a reboot being needed.  Anyhow, the 327680 looks familiar but I was
thinking I saw it as 32768 instead.  Unfortunately I don't remember if
photons were a part of that at all.

Here's the stats:
C:\Program Files\POV-Ray for Windows v3.1\scenes\photonmemorybug.pov
Statistics, Resolution 160 x 120
----------------------------------------------------------------------------
Pixels:           19200   Samples:           19200   Smpls/Pxl: 1.00
Rays:            778683   Saved:            100511   Max Level: 5/5
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
Box                            4962262         3683979     74.24
----------------------------------------------------------------------------
Calls to Noise:                  0   Calls to DNoise:             10
----------------------------------------------------------------------------
Media Intervals:          12760600   Media Samples:         37838730 (2.97)
Shadow Ray Tests:          3639126   Succeeded:               909663
Reflected Rays:             321814   Total Internal:            5091
Refracted Rays:             311634
Transmitted Rays:            28400
Number of photons shot:          98980
Media photons stored:          9763500
Priority queue insert:        97015921
Priority queue remove:        48845455
----------------------------------------------------------------------------
Smallest Alloc:                 28 bytes   Largest:           327704
Peak memory used:        195436684 bytes
----------------------------------------------------------------------------
Time For Parse:    0 hours  0 minutes   3.0 seconds (3 seconds)
Time For Photon:   0 hours 13 minutes  51.0 seconds (831 seconds)
Time For Trace:    0 hours 11 minutes  15.0 seconds (675 seconds)
    Total Time:    0 hours 25 minutes   9.0 seconds (1509 seconds)
Total cache size: 14800

Returned from renderer
POV-Ray finished

I have 192MB physical and the Windows swap file went up to 412MB (Outlook
Express and Explorer were running) and this is a 800MHz P3 running
Millennium too.
Your exiting light beam chops off and then continues faded, not sure why.
Maybe the media 12,3 in the global photon block needs adjusting (100 is the
recommended), although you start with a pretty close spacing and the factor
of 3 could be okay; I really can't say.  And the intervals 20 might be a bad
thing, the Doc says to use intervals 1 and that more can produce unwanted
artifacts since method 3 prefers to select its own value if more are needed.

Bob H.


Post a reply to this message

From: Dennis Milller
Subject: Re: Photon Slab Building Error
Date: 26 Jun 2001 16:41:05
Message: <3b38f361$1@news.povray.org>
I get this all the time, even with 1 GB system memory. I don't believe it
has anything to do with your RAM, but is an internal limit in POV. I believe
I was told this by someone in the TAG some time ago. Can anyone confirm?
d.

"Bob H." <omn### [at] msncom> wrote in message
news:3b38b264@news.povray.org...
> "POV-Ray News" <kyn### [at] cchatcom> wrote in message
> news:3b37f516@news.povray.org...
> > I have an 800Mhz Pentium III at work with 128Mb with a 256Mb swap file
> > running Windows 2000.  The following script file runs fine without any
> > problems.  Unfortunately when I run it on my home system with a 1.4 GHz
> > Pentium IV with 128Mb with a 300Mb swap file running Windows ME, I get
the
> > message:
> >
> > Slab building error.
> > Out of memory. Cannot allocate 327680 bytes for photons.
> >
> > The system shows only 56.5Mb of RAM in use.
>
> I was trying to think of when I had seen something like that recently,
maybe
> it was while my System Resources were so low things started going wrong.
I
> hibernate this computer all the time and it eventually degrades to the
point
> of a reboot being needed.  Anyhow, the 327680 looks familiar but I was
> thinking I saw it as 32768 instead.  Unfortunately I don't remember if
> photons were a part of that at all.
>
> Here's the stats:
> C:\Program Files\POV-Ray for Windows v3.1\scenes\photonmemorybug.pov
> Statistics, Resolution 160 x 120
> --------------------------------------------------------------------------
--
> Pixels:           19200   Samples:           19200   Smpls/Pxl: 1.00
> Rays:            778683   Saved:            100511   Max Level: 5/5
> --------------------------------------------------------------------------
--
> Ray->Shape Intersection          Tests       Succeeded  Percentage
> --------------------------------------------------------------------------
--
> Box                            4962262         3683979     74.24
> --------------------------------------------------------------------------
--
> Calls to Noise:                  0   Calls to DNoise:             10
> --------------------------------------------------------------------------
--
> Media Intervals:          12760600   Media Samples:         37838730
(2.97)
> Shadow Ray Tests:          3639126   Succeeded:               909663
> Reflected Rays:             321814   Total Internal:            5091
> Refracted Rays:             311634
> Transmitted Rays:            28400
> Number of photons shot:          98980
> Media photons stored:          9763500
> Priority queue insert:        97015921
> Priority queue remove:        48845455
> --------------------------------------------------------------------------
--
> Smallest Alloc:                 28 bytes   Largest:           327704
> Peak memory used:        195436684 bytes
> --------------------------------------------------------------------------
--
> Time For Parse:    0 hours  0 minutes   3.0 seconds (3 seconds)
> Time For Photon:   0 hours 13 minutes  51.0 seconds (831 seconds)
> Time For Trace:    0 hours 11 minutes  15.0 seconds (675 seconds)
>     Total Time:    0 hours 25 minutes   9.0 seconds (1509 seconds)
> Total cache size: 14800
>
> Returned from renderer
> POV-Ray finished
>
> I have 192MB physical and the Windows swap file went up to 412MB (Outlook
> Express and Explorer were running) and this is a 800MHz P3 running
> Millennium too.
> Your exiting light beam chops off and then continues faded, not sure why.
> Maybe the media 12,3 in the global photon block needs adjusting (100 is
the
> recommended), although you start with a pretty close spacing and the
factor
> of 3 could be okay; I really can't say.  And the intervals 20 might be a
bad
> thing, the Doc says to use intervals 1 and that more can produce unwanted
> artifacts since method 3 prefers to select its own value if more are
needed.
>
> Bob H.
>
>


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Photon Slab Building Error
Date: 26 Jun 2001 17:10:00
Message: <3b38fa28@news.povray.org>
In article <3b38f361$1@news.povray.org> , "Dennis Milller" 
<dhm### [at] mediaonenet> wrote:

> I get this all the time, even with 1 GB system memory. I don't believe it
> has anything to do with your RAM, but is an internal limit in POV.

There is no such limit in any version of POV-Ray.  Any claim there is such
an limit other than that of the platform you are running on (which is the
per application memory limit, 2 or 4 GB on Windows) is false.  This is true
for any platform POV-Ray runs on, and no matter if it is an official or
unofficial version.

It is a fundamental technical fact that there cannot a different limit
except an application has been specifically designed this way.  Software is
_no_ magic, and there are no esoteric limits of this kind in POV-Ray.  All
limits that do exist, for example the 256 entry limit in blend maps, will
result in a proper error message, not some random problem.

   Thorsten Froehlich

____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Kynar
Subject: Re: Photon Slab Building Error
Date: 26 Jun 2001 19:36:31
Message: <3b391c7f@news.povray.org>
Yeah sorry about that this is my first post on a news group.  Still trying
to get the hang of it.


I am afraid that I will be headed back to Windows 98 2nd Edition.  It looks
like ME is not allowing MegaPOV to allocate the array even though I have
plenty of memory and resources available.

Thanks for the response appreciate your time and effort.  Regards,

JP


Post a reply to this message

From: Kynar
Subject: Re: Photon Slab Building Error
Date: 26 Jun 2001 19:39:05
Message: <3b391d19$1@news.povray.org>
No I don't get any memory related crashes or problems on the PIV.  The
memory checks out ok.

Thanks for the response.  Appreciate your time and effort.  Regards,

JP


Post a reply to this message

From: Kynar
Subject: Re: Photon Slab Building Error
Date: 26 Jun 2001 19:48:29
Message: <3b391f4d@news.povray.org>
I have tried eliminating all applications and modules in memory that were
not essential to the system's operation.  I have tried cold boot, warm boot,
hibernating off, sleep off, etc.   I think it is probably an allocation
error when the photon map is being setup for storage.  I really do
appreciate the time and trouble you took to run this and then relay the
stats.  I will compare to my output to see if there are any dramatic
differences.  Yes have noticed the high intensity transmission beam you
mentioned.  Not certain why that happens.  Still playing with photons.
Trying to figure it all out.  Will try your suggestions.

Thanks again for the response and effort.  Regards,

JP


Post a reply to this message

Goto Latest 10 Messages Next 3 Messages >>>

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