Author Topic: 3ds max crashes when scrubbing time line in interactive render  (Read 7558 times)

2020-05-14, 17:14:53
Reply #15

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 838
  • George
    • View Profile
Setup is described here:

https://forum.corona-renderer.com/index.php?topic=21189.msg130891#msg130891

You "need" a material library with corona bitmaps inside, where assets point to some network location. In this case I used the Corona (2.0) library and relinked every asset to a central network source. See attachment "Corona_Library_2-0_Relinked.jpg" and note the bitmap path.

And it's not about a freeze but the fact that all assets seem to be loaded by max - even if you use a teapot without any material applied if you change frame.

Images:

1:
Basic scene, everything is ok. Just a teapot. See memory, all ok.

2:
The library with corona bitmaps inside is loaded into SME, no material from it is used in the scene (actually there is no material in the scene :). Still all ok (IR is running).

3:
Now I changed frame in timeline and you see how ram usage starts to increase.

4:
All bitmaps loaded now. See memory line in task manager.

5:
Closing the material library...

6:
... releases memory. You can still see the peak working set in task manager.


Hope it helps?


Good Luck

Resurrecting this to look into it, thanks
George Karampelas | chaos-corona.com
Chaos Corona QA Specialist | contact us

2020-05-18, 17:12:52
Reply #16

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 838
  • George
    • View Profile
Reported - Second issue regarding Custom Libraries and memory.

(internal id=507977242)
George Karampelas | chaos-corona.com
Chaos Corona QA Specialist | contact us

2020-07-22, 14:24:41
Reply #17

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 838
  • George
    • View Profile
Setup is described here:

https://forum.corona-renderer.com/index.php?topic=21189.msg130891#msg130891

You "need" a material library with corona bitmaps inside, where assets point to some network location. In this case I used the Corona (2.0) library and relinked every asset to a central network source. See attachment "Corona_Library_2-0_Relinked.jpg" and note the bitmap path.

And it's not about a freeze but the fact that all assets seem to be loaded by max - even if you use a teapot without any material applied if you change frame.

Images:

1:
Basic scene, everything is ok. Just a teapot. See memory, all ok.

2:
The library with corona bitmaps inside is loaded into SME, no material from it is used in the scene (actually there is no material in the scene :). Still all ok (IR is running).

3:
Now I changed frame in timeline and you see how ram usage starts to increase.

4:
All bitmaps loaded now. See memory line in task manager.

5:
Closing the material library...

6:
... releases memory. You can still see the peak working set in task manager.


Hope it helps?


Good Luck

In regards to the increased memory consumption for coronabitmaps when being used in a custom corona library, it's something that would require a large number of changes on how Corona renderer manages textures. This however will be addressed and partially improved by some optimizations that we have planned in the future.

For the moment, some simple solutions to the issue are to use a native bitmap library and simply use corona converter when all prefered materials are deployed within the SME. Or close temporarily any custom libraries that are not being actively used and open per request.
George Karampelas | chaos-corona.com
Chaos Corona QA Specialist | contact us

2023-06-30, 09:11:08
Reply #18

Frood

  • Active Users
  • **
  • Posts: 1922
    • View Profile
    • Rakete GmbH
Update:

Here is what I get currently (Corona v9/v10):

Max 2023: no change, all assets are pulled from the network (-> freeze), memory usage increases to 20GB+ (empty scene)

Max 2024: all assets are pulled from the network (-> freeze), but memory usage does not increase any more

Btw: OutOfCoreCache entries (if not disabled) are generated for all assets of the material library additionally.


Good Luck



Never underestimate the power of a well placed level one spell.