Author Topic: IR sometimes fills up RAM when manipulating geometry  (Read 1107 times)

2022-05-13, 13:50:12

hurrycat

  • Active Users
  • **
  • Posts: 111
    • View Profile
Hey all,

I have faced the following problem, several times across different projects. Sometimes, when manipulating some geometry while IR is running, Interactive hangs (picture stays pixelated) and RAM starts ramping up. I may be sitting at around 30-40% Ram Usage and after a while I am at 99% of 128gb RAM, with Paged file also heavily used. Clicking on STOP at this stage (even before RAM usage hits 99%) does nothing.

Specifically, I was manipulating an Editable Poly, with Chamfer modifier and an instanced UVW Modifier on top. The assigned material also had Displacement, so maybe there lies the culprit.

This one is one of those tricky bugs to solve, as it cannot be easily reproduced. Right now I am sitting at 99% RAM, waiting for 3ds max or the computer to crash, or for IR to magically stop by itself (I remember that on some occasions IR would stop after a while with a RAM Full Error, without crashing the whole program).

I could share the file with you, but I doubt you will be able to reproduce this. One suggestion would be to integrate a failsafe (maybe Corona 8 has this?) where IR would stop when Ram gets full under such circumstances (and not under usual scene load).

[3DS Max 2021, Corona 7 hotfix 2]

Thank you and have a nice day!

EDIT: I submitted a request along with a minidump [Ticket Id #38405]. 3ds max has not crashed, it's just frozen while I generated the minidump. I'm going to murder it now, after half an hour of waiting
« Last Edit: 2022-05-13, 14:07:00 by hurrycat »

2022-05-19, 16:54:49
Reply #1

Aram Avetisyan

  • Corona Team
  • Active Users
  • ****
  • Posts: 543
    • View Profile
Hey all,

I have faced the following problem, several times across different projects. Sometimes, when manipulating some geometry while IR is running, Interactive hangs (picture stays pixelated) and RAM starts ramping up. I may be sitting at around 30-40% Ram Usage and after a while I am at 99% of 128gb RAM, with Paged file also heavily used. Clicking on STOP at this stage (even before RAM usage hits 99%) does nothing.

Specifically, I was manipulating an Editable Poly, with Chamfer modifier and an instanced UVW Modifier on top. The assigned material also had Displacement, so maybe there lies the culprit.

This one is one of those tricky bugs to solve, as it cannot be easily reproduced. Right now I am sitting at 99% RAM, waiting for 3ds max or the computer to crash, or for IR to magically stop by itself (I remember that on some occasions IR would stop after a while with a RAM Full Error, without crashing the whole program).

I could share the file with you, but I doubt you will be able to reproduce this. One suggestion would be to integrate a failsafe (maybe Corona 8 has this?) where IR would stop when Ram gets full under such circumstances (and not under usual scene load).

[3DS Max 2021, Corona 7 hotfix 2]

Thank you and have a nice day!

EDIT: I submitted a request along with a minidump [Ticket Id #38405]. 3ds max has not crashed, it's just frozen while I generated the minidump. I'm going to murder it now, after half an hour of waiting

Hi,

From what you wrote, I think this is possible. UVWMapping modifiers can be very have for the scene, especially if they are instanced and many.
My guess is that you go to the lower level in stack, change something with show end result enabled, which then gets chamfered and then UnwrapUVWed/UVWMapped which can be taxing even for Max to display everything. Doing this while running IR can be even worse.
You can try checking the RAM usage when doing this, only without IR. See if there are spikes or no.

I saw you sent a ticket to us. It will be better to also get the archive of the scene and try reproducing the issue, see if there is anything that can be improved.
Please upload also the scene archive (used undisclosed only for testing purposes) in the ticket to continue troubleshooting.

Thanks,
Aram
Aram Avetisyan | chaos-corona.com
Chaos Corona Support Representative | contact us

2022-05-19, 17:52:12
Reply #2

hurrycat

  • Active Users
  • **
  • Posts: 111
    • View Profile
Hi Aram,

I archived and uploaded the simplified scene to your private uploader. After further testing, it seems that 3ds Max hangs only when

A) Show End Result is enabled, as you suggested and

B) Displacement is enabled on the Material.


So Chamfer and UVW Modifier are constantly updated with respect to the current editable poly selection. However, there doesn't seem to be affected by whether UVW Modifier is instanced or not.

This is now 100% reproduceable for me. Please let me know if I can help any other way that I can.

2023-02-14, 15:18:41
Reply #3

Avi

  • Corona Team
  • Active Users
  • ****
  • Posts: 476
    • View Profile
Hello,

Have you tried using Corona 9 Hotfix 1? Is the issue still occurring? Please let me know.
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us