Author Topic: Corona 12 Major Memory Leak  (Read 4541 times)

2024-07-10, 12:14:45

dj_buckley

  • Active Users
  • **
  • Posts: 974
    • View Profile
I seem to be experiencing a pretty serious memory leak with Corona 12.

I'm trying to pinpoint it exactly at the minute, but it seems to be when I try to use IR for the first time after merging a 3rd party model into my scene.

The process goes something like this

- merge model
- continue working (no problems yet)
- start IR
- memory leak

but

If I save the scene after merging, close max, reopen the scene and start IR then its fine.

But the memory leak is literally causing my computer to lock out and ultimately crash requiring a full restart.

2024-07-10, 12:23:19
Reply #1

muoto

  • Active Users
  • **
  • Posts: 90
    • View Profile
had some issues as well, starting IR and getting white VFB screen, CPU 100%, memory getting high. but no rendering visible
google complained about memory lacking (first time i had this, 64GB system btw)
had to kill 3dsmax.exe

2024-07-10, 12:29:10
Reply #2

dj_buckley

  • Active Users
  • **
  • Posts: 974
    • View Profile
I'm on 192GB RAM and it just completely locks out my machine, i'm working in a scene that just contains a few boxes really (screenshot attached) and the file is 45MB.  But as soon as I press IR after merging a new model in, memory usage in task manager shoots above 150GB and then just keeps climbing.

If I catch it quick enough i can end task in task manager, if not then it's a full PC restart

2024-07-10, 13:50:42
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13154
  • Marcin
    • View Profile
Does it happen after merging literally ANY model, or only some specific model(s)?
If it's specific models only, could you please send at least one of them which triggers the issue at https://support.chaos.com/hc/en-us/requests/new
Thanks in advance!
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2024-07-10, 14:04:24
Reply #4

dj_buckley

  • Active Users
  • **
  • Posts: 974
    • View Profile
It's happened with two different models so far, one from 3D Sky, the other from Dimensiva.

I've just tried again with one of the models and it didn't happen, so it's not consistent either.

I seem to have a knack for finding inconsistent seemingly random and impossible to pinpoint bugs :)

Edit:  Might be something, but previously when it's been happening, I've had multiple instances of Max open.  When I tried again just now I only have 1 instance of Max open

2024-07-11, 05:34:10
Reply #5

Tom

  • Active Users
  • **
  • Posts: 284
    • View Profile
    • www
Have you tried using scripts like Stock Model Fixer, SiNi Forensic and Prune Scene?
I always run these 3 scripts everytime after merging any third party model, as I have experienced weird behaviors in the past with 3rd party models (max file size increasing, unusualy long loading time etc...)

2024-07-11, 07:49:51
Reply #6

dj_buckley

  • Active Users
  • **
  • Posts: 974
    • View Profile
Yeh it's none of that, these are models I've used plenty times in the past, i'm literally merging them in from older scenes using Copy/Paste script

2024-07-31, 11:21:20
Reply #7

Guillaume G.

  • Active Users
  • **
  • Posts: 10
  • Studio403
    • View Profile
Same problem here, my 100GB of ram used entirely at random when I launch IR, forced to regularly kill the process and relaunch max.

2024-07-31, 15:35:26
Reply #8

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13154
  • Marcin
    • View Profile
Gentlemen, I have set up support tickets for each one of you.
« Last Edit: 2024-08-01, 13:55:13 by maru »
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2024-07-31, 21:17:16
Reply #9

ucna

  • Active Users
  • **
  • Posts: 17
    • View Profile
Yeh it's none of that, these are models I've used plenty times in the past, i'm literally merging them in from older scenes using Copy/Paste script
I'd also ask you to check if you have any meshsmooth modifiers on any models in your scene and collapse it. I noticed this with previous version of corona, It happened randomly. in some scenes I had.

2024-08-05, 11:29:30
Reply #10

Alexandre Besson

  • Active Users
  • **
  • Posts: 138
  • http://www.alexandre-besson.com
    • View Profile
    • Alexandre Besson portfolio
same issue here

2024-08-05, 11:34:35
Reply #11

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13154
  • Marcin
    • View Profile
I have just created a support ticket #275097 for you.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2024-08-05, 15:16:11
Reply #12

dj_buckley

  • Active Users
  • **
  • Posts: 974
    • View Profile
Unfortunately Maru, I think this is another one of those that isn't replicatable on demand.  It seems completely and utterly random.  I'm also being super cautious since it happened to me and saving my scene file regularly which, for all I know, could be the reason why it's not happened again

2024-08-15, 21:04:23
Reply #13

John.McWaters

  • Active Users
  • **
  • Posts: 280
    • View Profile
    • JohnMcWaters.com
I had this happen to me yesterday as well.

2024-08-16, 09:24:03
Reply #14

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13154
  • Marcin
    • View Profile
I had this happen to me yesterday as well.

I have just set up a support ticket for you. Please check your mail.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us