OConv & Rpict Runtime Error ­ Out of Memory

Hi Andrei,

In theory you should be able to use CMake now with a pre-5.0a vintage (say, https://github.com/NREL/Radiance/tree/4.3.a.2) of the source to try building for 64-bit Windows. I don't know of any publicly-available Win64 Radiance installers. We (NREL) would like to offer them, and that's on the to-do list, but it's a long list.

- Rob

···

On 4/21/15, 3:21 PM, "Kolomenski, Andrei (JSC-SF311)[WYLE INTEG. SCI. & ENG.]" <[email protected]<mailto:[email protected]>> wrote:

Hello All,
I'm experiencing a runtime error with oconv when generating an octree file for a model that has about 5 million triangle polygons. This is the error I see:
               oconv: system - out of octree space: Not enough space
I'm using Radiance 4.3a 32 bit on Windows 7 64 bit OS running on a desktop with an i7 and 16 GB of RAM. I tried this on another desktop with a Xeon X5647 with 48 GB of RAM and same error. So hardware resources shouldn't be the issue. I tried generating the same octree on Linux, and everything worked properly.
I have a similar problem with rpict when rendering an image of a large geometry scene. My octree is 843 MB and I'm testing the model with no lights and only ambient lighting (using -av 1 1 1). When I run rpict from the command line it either finishes but generates a completely empty image or rpict crashes and I see a "rpict not responding" Windows message.
Is there a 64 bit Windows installer version of Radiance, or can I build it from source code using CMAKE? What is the maximum number of vertices that 32 bit Radiance can handle? Has anybody else experienced problems with oconv or rpict in Windows when working with large models?

Kind Regards,
Andrei Kolomenski

Hi Robert,

Thank you for the response. I was hoping that someone would say that it is possible to build 64 bit Radiance. I will give it a try and report back on the outcome.

Regards,
Andrei

···

-----Original Message-----
From: Guglielmetti, Robert [mailto:[email protected]]
Sent: Tuesday, April 21, 2015 5:01 PM
To: [email protected]
Subject: Re: [Radiance-general] OConv & Rpict Runtime Error Out of Memory

Hi Andrei,

In theory you should be able to use CMake now with a pre-5.0a vintage (say, https://github.com/NREL/Radiance/tree/4.3.a.2) of the source to try building for 64-bit Windows. I don't know of any publicly-available Win64 Radiance installers. We (NREL) would like to offer them, and that's on the to-do list, but it's a long list.

- Rob

On 4/21/15, 3:21 PM, "Kolomenski, Andrei (JSC-SF311)[WYLE INTEG. SCI. & ENG.]" <[email protected]<mailto:[email protected]>> wrote:

Hello All,
I'm experiencing a runtime error with oconv when generating an octree file for a model that has about 5 million triangle polygons. This is the error I see:
               oconv: system - out of octree space: Not enough space I'm using Radiance 4.3a 32 bit on Windows 7 64 bit OS running on a desktop with an i7 and 16 GB of RAM. I tried this on another desktop with a Xeon X5647 with 48 GB of RAM and same error. So hardware resources shouldn't be the issue. I tried generating the same octree on Linux, and everything worked properly.
I have a similar problem with rpict when rendering an image of a large geometry scene. My octree is 843 MB and I'm testing the model with no lights and only ambient lighting (using -av 1 1 1). When I run rpict from the command line it either finishes but generates a completely empty image or rpict crashes and I see a "rpict not responding" Windows message.
Is there a 64 bit Windows installer version of Radiance, or can I build it from source code using CMAKE? What is the maximum number of vertices that 32 bit Radiance can handle? Has anybody else experienced problems with oconv or rpict in Windows when working with large models?

Kind Regards,
Andrei Kolomenski

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

Oh it's definitely possible, and FYI we are doing it for Mac and Linux
already. These are publicly available:

Linux64
https://github.com/NREL/Radiance/releases/download/5.0.a.1/radiance-5.0.a-L
inux64.tar.gz
https://github.com/NREL/Radiance/releases/download/4.3.a.2/radiance-4.3.a-L
inux64.tar.gz

Mac Universal
https://github.com/NREL/Radiance/releases/download/5.0.a.1/radiance-5.0.a-D
arwin.dmg
https://github.com/NREL/Radiance/releases/download/4.3.a.2/radiance-4.3.a-D
arwin.dmg

I also know folks are successfully building older vintages of Radiance
(4.3a) for 64-bit Windows. We just haven't had the time to get a Windows
build system together to do it here; once we do, they will be posted to
NREL's GitHub site alongside the others.

- Rob

P.S.
Radiance 5.0a for Windows (32bit) is also a work in progress, which we
hope to have available soon.

···

On 4/22/15, 7:11 AM, "Kolomenski, Andrei (JSC-SF311)[WYLE INTEG. SCI. & ENG.]" <[email protected]> wrote:

Hi Robert,

Thank you for the response. I was hoping that someone would say that it
is possible to build 64 bit Radiance. I will give it a try and report
back on the outcome.

Regards,
Andrei

-----Original Message-----
From: Guglielmetti, Robert [mailto:[email protected]]
Sent: Tuesday, April 21, 2015 5:01 PM
To: [email protected]
Subject: Re: [Radiance-general] OConv & Rpict Runtime Error Out of Memory

Hi Andrei,

In theory you should be able to use CMake now with a pre-5.0a vintage
(say, https://github.com/NREL/Radiance/tree/4.3.a.2) of the source to try
building for 64-bit Windows. I don't know of any publicly-available Win64
Radiance installers. We (NREL) would like to offer them, and that's on
the to-do list, but it's a long list.

- Rob

On 4/21/15, 3:21 PM, "Kolomenski, Andrei (JSC-SF311)[WYLE INTEG. SCI. & >ENG.]" <[email protected]<mailto:[email protected]>> >wrote:

Hello All,
I'm experiencing a runtime error with oconv when generating an octree
file for a model that has about 5 million triangle polygons. This is the
error I see:
              oconv: system - out of octree space: Not enough space I'm
using Radiance 4.3a 32 bit on Windows 7 64 bit OS running on a desktop
with an i7 and 16 GB of RAM. I tried this on another desktop with a Xeon
X5647 with 48 GB of RAM and same error. So hardware resources shouldn't
be the issue. I tried generating the same octree on Linux, and everything
worked properly.
I have a similar problem with rpict when rendering an image of a large
geometry scene. My octree is 843 MB and I'm testing the model with no
lights and only ambient lighting (using -av 1 1 1). When I run rpict from
the command line it either finishes but generates a completely empty
image or rpict crashes and I see a "rpict not responding" Windows message.
Is there a 64 bit Windows installer version of Radiance, or can I build
it from source code using CMAKE? What is the maximum number of vertices
that 32 bit Radiance can handle? Has anybody else experienced problems
with oconv or rpict in Windows when working with large models?

Kind Regards,
Andrei Kolomenski

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

Dear Radiance Users,

I successfully built and tested the 64 bit executables of Radiance 4.3.a.2 (https://github.com/NREL/Radiance/tree/4.3.a.2), using Visual Studio 2013 64 bit and CMake 3.2.2. However, I'm running into a similar run-time crash when using rpict and oconv for very large geometries (2.4 GB geometry .rad file).

I ran 64 bit rpict in Debug mode inside Visual Studio 2013 to determine the cause of the “Unhandled Memory Exception” error. The error was traced to line 198 in objset.c of Radiance 4.3.a.2 source code.

  Line 198: os = ostable[osentry];

Variable, osentry (int), is used as an index to access an entry in the ostable[], object table array; osentry crashes with the value -26,513. I’m not sure what is causing osentry variable to attain a negative value.. I’ve printed the osentry to screen and noticed that it is evaluated to a positive integer many times before it attains the negative value. I printed the last few osentry values during run-time.

Osentry: 230041
Osentry: 145409
Osentry: 196801
Osentry: -243553

Oconv, breaks in the same line of code as rpict (line 198 in objset.c).

What can be causing a break at this point in the code?

Is there a limit to the maximum number of polygons/vertices that can be present in a scene depending on 32 or 64 bit Radiance executables?

Windows has limits to a function's recursion depth that is determined by the maximum stack size, which by default is set to 1 MB. Can the limit on the stack size be causing the unexpected run-time error?

Thank you,
Andrei Kolomenski

···

-----Original Message-----
From: Guglielmetti, Robert [mailto:[email protected]]
Sent: Wednesday, April 22, 2015 9:47 AM
To: [email protected]
Subject: Re: [Radiance-general] OConv & Rpict Runtime Error Out of Memory

Oh it's definitely possible, and FYI we are doing it for Mac and Linux already. These are publicly available:

Linux64
https://github.com/NREL/Radiance/releases/download/5.0.a.1/radiance-5.0.a-L
inux64.tar.gz
https://github.com/NREL/Radiance/releases/download/4.3.a.2/radiance-4.3.a-L
inux64.tar.gz

Mac Universal
https://github.com/NREL/Radiance/releases/download/5.0.a.1/radiance-5.0.a-D
arwin.dmg
https://github.com/NREL/Radiance/releases/download/4.3.a.2/radiance-4.3.a-D
arwin.dmg

I also know folks are successfully building older vintages of Radiance
(4.3a) for 64-bit Windows. We just haven't had the time to get a Windows build system together to do it here; once we do, they will be posted to NREL's GitHub site alongside the others.

- Rob

P.S.
Radiance 5.0a for Windows (32bit) is also a work in progress, which we hope to have available soon.

On 4/22/15, 7:11 AM, "Kolomenski, Andrei (JSC-SF311)[WYLE INTEG. SCI. & ENG.]" <[email protected]> wrote:

Hi Robert,

Thank you for the response. I was hoping that someone would say that it
is possible to build 64 bit Radiance. I will give it a try and report
back on the outcome.

Regards,
Andrei

-----Original Message-----
From: Guglielmetti, Robert [mailto:[email protected]]
Sent: Tuesday, April 21, 2015 5:01 PM
To: [email protected]
Subject: Re: [Radiance-general] OConv & Rpict Runtime Error Out of
Memory

Hi Andrei,

In theory you should be able to use CMake now with a pre-5.0a vintage
(say, https://github.com/NREL/Radiance/tree/4.3.a.2) of the source to
try building for 64-bit Windows. I don't know of any publicly-available
Win64 Radiance installers. We (NREL) would like to offer them, and
that's on the to-do list, but it's a long list.

- Rob

On 4/21/15, 3:21 PM, "Kolomenski, Andrei (JSC-SF311)[WYLE INTEG. SCI. & >ENG.]" <[email protected]<mailto:[email protected]>> >wrote:

Hello All,
I'm experiencing a runtime error with oconv when generating an octree
file for a model that has about 5 million triangle polygons. This is
the error I see:
              oconv: system - out of octree space: Not enough space
I'm using Radiance 4.3a 32 bit on Windows 7 64 bit OS running on a
desktop with an i7 and 16 GB of RAM. I tried this on another desktop
with a Xeon
X5647 with 48 GB of RAM and same error. So hardware resources shouldn't
be the issue. I tried generating the same octree on Linux, and
everything worked properly.
I have a similar problem with rpict when rendering an image of a large
geometry scene. My octree is 843 MB and I'm testing the model with no
lights and only ambient lighting (using -av 1 1 1). When I run rpict
from the command line it either finishes but generates a completely
empty image or rpict crashes and I see a "rpict not responding" Windows message.
Is there a 64 bit Windows installer version of Radiance, or can I build
it from source code using CMAKE? What is the maximum number of vertices
that 32 bit Radiance can handle? Has anybody else experienced problems
with oconv or rpict in Windows when working with large models?

Kind Regards,
Andrei Kolomenski

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general