# How To Render 1million Polygons?

**URL:** https://forum.highend3d.com/t/how-to-render-1million-polygons/45359
**Category:** Maya
**Tags:** mental-ray
**Created:** [November 25, 2008, 8:30pm UTC](https://forum.highend3d.com/t/how-to-render-1million-polygons/45359 "2008-11-25T20:30:37Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![terraformers](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/t/ccd318/32.png) [@terraformers](https://forum.highend3d.com/u/terraformers)
#### Post date: [November 25, 2008, 8:30pm UTC](https://forum.highend3d.com/t/how-to-render-1million-polygons/45359/1 "2008-11-25T20:30:37Z")

</div>

i have a scene with 1 300 000 polygons (no textures).  
MR is running out of memory (quad core, 3 gigs of ram) even if i set memory limit to 2500  
already tried BSP, Large BSP and BSP2  
how can solve this problem?

here's my scene:  
[http://sor.typepad.com/sor/2008/11/tst4-1.html](http://sor.typepad.com/sor/2008/11/tst4-1.html)  
(memorytst-right click - save as)

---

<div class="post-metadata">

### Author: ![gmask](https://forum.highend3d.com/user_avatar/forum.highend3d.com/gmask/32/192_2.png) [@gmask](https://forum.highend3d.com/u/gmask)
#### Post date: [November 25, 2008, 9:27pm UTC](https://forum.highend3d.com/t/how-to-render-1million-polygons/45359/2 "2008-11-25T21:27:17Z")

</div>

If you are on a 32 bit operating system and you didn't enable the large memory address aware flag (/3GB) in your ini file then you will only beable to use about 1.5 GB

---

<div class="post-metadata">

### Author: ![terraformers](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/t/ccd318/32.png) [@terraformers](https://forum.highend3d.com/u/terraformers)
#### Post date: [November 25, 2008, 10:19pm UTC](https://forum.highend3d.com/t/how-to-render-1million-polygons/45359/3 "2008-11-25T22:19:47Z")

</div>

how can i enable the large memory address aware flag (/3GB) in my ini file ?

---

<div class="post-metadata">

### Author: ![gmask](https://forum.highend3d.com/user_avatar/forum.highend3d.com/gmask/32/192_2.png) [@gmask](https://forum.highend3d.com/u/gmask)
#### Post date: [November 25, 2008, 10:29pm UTC](https://forum.highend3d.com/t/how-to-render-1million-polygons/45359/4 "2008-11-25T22:29:47Z")

</div>

[http://technet.microsoft.com/en-us/library/bb124810.aspx](http://technet.microsoft.com/en-us/library/bb124810.aspx)

---

<div class="post-metadata">

### Author: ![terraformers](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/t/ccd318/32.png) [@terraformers](https://forum.highend3d.com/u/terraformers)
#### Post date: [November 25, 2008, 10:57pm UTC](https://forum.highend3d.com/t/how-to-render-1million-polygons/45359/5 "2008-11-25T22:57:20Z")

</div>

thanks alot.

so 3 gig is the max for a winxp 32 right?

---

<div class="post-metadata">

### Author: ![gmask](https://forum.highend3d.com/user_avatar/forum.highend3d.com/gmask/32/192_2.png) [@gmask](https://forum.highend3d.com/u/gmask)
#### Post date: [November 25, 2008, 11:45pm UTC](https://forum.highend3d.com/t/how-to-render-1million-polygons/45359/6 "2008-11-25T23:45:25Z")

</div>

more like 2.5

---

<div class="post-metadata">

### Author: ![terraformers](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/t/ccd318/32.png) [@terraformers](https://forum.highend3d.com/u/terraformers)
#### Post date: [November 27, 2008, 5:47pm UTC](https://forum.highend3d.com/t/how-to-render-1million-polygons/45359/7 "2008-11-27T17:47:50Z")

</div>

i noticed that sometimes MR runs out of memory before even hitting the memory limit that i fixed. why is that

---

<div class="post-metadata">

### Author: ![gmask](https://forum.highend3d.com/user_avatar/forum.highend3d.com/gmask/32/192_2.png) [@gmask](https://forum.highend3d.com/u/gmask)
#### Post date: [November 27, 2008, 6:29pm UTC](https://forum.highend3d.com/t/how-to-render-1million-polygons/45359/8 "2008-11-27T18:29:46Z")

</div>

QUOTE(ROYTERR @ 11/27/08, 09:47 AM) [snapback]295986[/snapback]  
i noticed that sometimes MR runs out of memory before even hitting the memory limit that i fixed. why is that

how much was it using when it ran out?

---

<div class="post-metadata">

### Author: ![terraformers](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/t/ccd318/32.png) [@terraformers](https://forum.highend3d.com/u/terraformers)
#### Post date: [November 27, 2008, 6:42pm UTC](https://forum.highend3d.com/t/how-to-render-1million-polygons/45359/9 "2008-11-27T18:42:43Z")

</div>

1200 MB

---

<div class="post-metadata">

### Author: ![gmask](https://forum.highend3d.com/user_avatar/forum.highend3d.com/gmask/32/192_2.png) [@gmask](https://forum.highend3d.com/u/gmask)
#### Post date: [November 27, 2008, 6:57pm UTC](https://forum.highend3d.com/t/how-to-render-1million-polygons/45359/10 "2008-11-27T18:57:03Z")

</div>

QUOTE(ROYTERR @ 11/27/08, 10:42 AM) [snapback]295991[/snapback]  
1200 MB

if that was before you set the /3gb flag then that sounds typical

Actually from my experience I never found much use for the memory setting unless you need to limit the amount of memory. It won't force the computer to use more than it can. If it's maxing out at 1200 then try setting the limit to 1100. But you also have to set the BSP settings so that it does not try to do more per bucket or whatever.
