|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I am running into memory issues during parsing on a scene I'm working on for
this IRTC round. I am creating an outdoor scene with lots of mesh copies of
plants and trees placed with trace and eval_pigment functions. When
parsing, POV crashes well before I use up my physical RAM with the
following error:
**********************************************
File Contect (5 lines):
#local fn = function { pigment { pigm } }
#local result = (fn(vec.x, vec.y, vec.z));
result
#end
Parse Error: Out of memory. Cannot allocate 80640 bytes for fn:
FunctionEntry
***********************************************
Memory usage is under 300MB when it crashes, and I have 2GB in my machine.
It always seems to crash at the same function too, regardless of how I move
things around in my scene.
Any ideas?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
P Brewer wrote:
> Parse Error: Out of memory. Cannot allocate 80640 bytes for fn:
> FunctionEntry
>
> ***********************************************
>
> Memory usage is under 300MB when it crashes, and I have 2GB in my machine.
> It always seems to crash at the same function too, regardless of how I move
> things around in my scene.
First of all, this is not a crash, it is an error message. Second, how did
you determine that memory usage is just 300 MB?
Thorsten
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> First of all, this is not a crash, it is an error message. Second, how did
> you determine that memory usage is just 300 MB?
>
> Thorsten
Thorsten,
Thanks for replying.
Actually it sometimes does crash and will not recover. I think it said the
usual "pvengine.exe has generated an error". FYI, I'm using the Windows
version, I suppose I should have said that up front.
When POV does just error out, the peak memory usage reported is under 300MB.
This agrees with Windows Task Manager "Mem Usage" and "VM Size" numbers. I'm
playing around with using less calls to eval_pigment by tweaking my
placement macro, but don't know if it will work yet.
Phil
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> First of all, this is not a crash, it is an error message. Second, how did
> you determine that memory usage is just 300 MB?
>
> Thorsten
My test render just crashed. The error is "The POV-Ray core rendering core
threw an unhandled exception." and etc. VM size is 236MB according to Task
Manager.
This is the crash I have been getting when it doesn't just error out.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>
> First of all, this is not a crash, it is an error message. Second, how did
> you determine that memory usage is just 300 MB?
>
I was able to get the number of plant I want by tweaking the macro as
mentioned above and calling the macro 3 times for 1/3 the number of plants
(with a different seed). It seems the memory usage flushes out once I exit
the macro. No crashes now.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |