Author Topic: Can't Render with Corona because of to much RAM being used  (Read 8470 times)

2021-01-31, 16:43:29

sami podvorica

  • Users
  • *
  • Posts: 3
    • View Profile
Hi,

Im trying to render a scene with approx. 900k polygons, one tree and a bush scattered as corona proxy with the scatter and a little displacement for a lake and the nature.. so in general it is not a heavy scene. However, when I press render it is stuck in preparing geometry and the ram usage just goes higher (the P and V usage goes above 20k megabyte) until it crashes while I only have 16gb installed of RAM.

Randomly it works and the usage goes only up to around 5k megabyte and it works perfectly. But now it crashes the whole program at 20k and I have to restart the pc.

- the scene has: a 4k HDRi, 3-4 corona default materials and very simple geometry as a house.

My specs:

i5-gen 10
16 gb Ram
« Last Edit: 2021-01-31, 16:47:57 by sami podvorica »

2021-01-31, 17:02:47
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9309
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Hi,

Make sure that you're using new 2,5D displacement and not the old one. Try to increase displacement screen size, or even turn off displacement at all. Optimize your textures if possible, turn off lightmix and render elements. Reduce render output resolution. 16GB of RAM is very low these days and you need to go for some compromises if you want to render heavier scenes.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2021-01-31, 17:40:40
Reply #2

sami podvorica

  • Users
  • *
  • Posts: 3
    • View Profile
I don't think that it is because of the scene.. Right now it worked for me, I saved the file and when I try to render again it wont work.. I believe it has a problem with RAM allocating or not cleaning the ram up after using it.

2021-01-31, 17:42:06
Reply #3

sami podvorica

  • Users
  • *
  • Posts: 3
    • View Profile
Hi,

Make sure that you're using new 2,5D displacement and not the old one. Try to increase displacement screen size, or even turn off displacement at all. Optimize your textures if possible, turn off lightmix and render elements. Reduce render output resolution. 16GB of RAM is very low these days and you need to go for some compromises if you want to render heavier scenes.

I don't think that it is because of the scene.. Right now it worked for me, I saved the file and when I try to render again it wont work.. I believe it has a problem with RAM allocating or not cleaning the ram up after using it.

2021-01-31, 18:32:21
Reply #4

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 6174
    • View Profile
There are no known issues with RAM not being cleaned up (unless there are some third party plugins in the scene, as we couldn't speak for those). Sounds more like there may just be less applications running outside of your rendering which allowed it to work sometimes but not others. Romullus' advice is sound, I would check into all of those, and you can find that summarized at https://coronarenderer.freshdesk.com/support/solutions/articles/5000675854-system-is-running-low-on-ram-you-may-experience-excessive-parsing-times-and-or-crashes-you-will-pro

You can also send in the scene to us via private uploader along with a ticket or bug report if you are really sure there is some sort of memory leak or other issue, see https://coronarenderer.freshdesk.com/support/solutions/articles/5000524006-how-to-report-issues-3ds-max
Tom Grimes | chaos-corona.com
Product Manager | contact us

2021-01-31, 19:53:44
Reply #5

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9309
  • Let's move this topic, shall we?
    • View Profile
    • My Models
3ds Max itself is known to clog RAM with each render. Thing is that if you're getting Corona low RAM warning message, there are no guarantees that the render will go through. Sometimes it may render just fine, sometimes it may not. One thing you can do to prevent crashes, is to increas Windows virtual memory size - 3ds Max should not crash, but the rendering will be very slow, unless you will do scene optimizations to fit it all into available RAM.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures