POV-Ray Out of Memory Error

Post your questions here
Post Reply
Jakob Hubbard
Posts: 1152
Joined: Fri Nov 24, 2017 3:16 am
Team: Phil's
Location: Cold
Contact:

POV-Ray Out of Memory Error

Post by Jakob Hubbard »

While trying to render shadows for a track on a different machine, POV-Ray is having troubles detecting the memory in the system and thinks I've ran out at about 3.5-3.7GB every time. I'm not really sure why that is. Tried looking up some old forum posts on POV-Ray's site and got nothing super useful that would help me on Windows. I've also tried increasing VRAM but that's probably not the issue because looking at task manager it's using RAM not VRAM.

POV-Ray Error Log

Code: Select all

Preset INI file is 'C:\USERS\JAKOB\DOCUMENTS\POV-RAY\V3.7\INI\QUICKRES.INI', section is '[4098, AA 0.3]'.
Preset source file is 'D:\MX Simulator Files\Shadows\shadow.pov'.
Rendering with 12 threads.
Parser Options
  Input file: D:\MX Simulator Files\Shadows\shadow.pov
  Remove bounds........On
  Split unions.........Off
  Library paths:
    C:\Users\jakob\Documents\POV-Ray\v3.7\include
    C:\WINDOWS\Fonts
  Clock value:    0.000  (Animation off)
Image Output Options
  Image resolution.....4098 by 4098 (rows 1 to 4098, columns 1 to 4098).
  Output file..........D:\MX Simulator Files\Shadows\shadow.png, 24 bpp PNG
  Dithering............Off
  Graphic display......On  (gamma: sRGB)
  Mosaic preview.......Off
  Continued trace......Off
Information Output Options
  All Streams to console..........On
  Debug Stream to console.........On
  Fatal Stream to console.........On
  Render Stream to console........On
  Statistics Stream to console....On
  Warning Stream to console.......On
Parse Warning: Camera location to look_at direction and sky direction should be different. Using default/supplied right vector instead.
Possible Parse Error: Insufficient memory to allocate intermediate image storage.
Fatal error in parser: Out of memory.
Render failed
-
CPU time used: kernel 2.16 seconds, user 23.97 seconds, total 26.13 seconds.
Elapsed time 27.58 seconds.
----------------------------------------------------------------------------
Task Manager Processes Tab
Image

Task Manager Performance Tab
Image

Never had this issue on my pc back at home so I'm not sure as to the reasoning why this is happening.
Image
supercrosspig
Posts: 102
Joined: Tue Oct 29, 2019 11:13 pm

Re: POV-Ray Out of Memory Error

Post by supercrosspig »

Split the statues into two different statue files, save a track.pov using both and run both of them and then combine the shadows in photoshop using multiply or whatever.
Jakob Hubbard
Posts: 1152
Joined: Fri Nov 24, 2017 3:16 am
Team: Phil's
Location: Cold
Contact:

Re: POV-Ray Out of Memory Error

Post by Jakob Hubbard »

I saw this workaround in an older post, but to anyone else I’m curious as to why when I have the same amount of RAM on my pc at home as the current machine it gives out and fails.
Image
jlv
Site Admin
Posts: 14928
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: POV-Ray Out of Memory Error

Post by jlv »

Are you sure you're running the 64 bit version?
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Jakob Hubbard
Posts: 1152
Joined: Fri Nov 24, 2017 3:16 am
Team: Phil's
Location: Cold
Contact:

Re: POV-Ray Out of Memory Error

Post by Jakob Hubbard »

jlv wrote: Wed Jan 04, 2023 2:05 am Are you sure you're running the 64 bit version?
I guess for some reason this machine defaulted to using the 32 bit engine when running whereas my one at home defaults to the 64 bit engine. Making sure it was opened with pvengine64 seemed to fix it. Makes sense now!
Image
Post Reply