Author Topic: Corona is not using full RAM mabookpro M1 MAX  (Read 853 times)

2023-12-12, 12:48:33

wasfrans

  • Active Users
  • **
  • Posts: 5
    • View Profile
Hi there I have a macbookpro 16" M1 MAX with 64GB of RAM. I see that corona is not using all my RAM.
Is there a way to force this. I can't find anything in the prefs.


2023-12-12, 13:48:24
Reply #1

James Vella

  • Active Users
  • **
  • Posts: 540
    • View Profile
lol. Thats kind of like requesting corona to fill your entire hard-drive. If your scene needs more RAM it will use it, most of the time keeping the RAM down is a good thing, since once you hit the max then you need more.
« Last Edit: 2023-12-12, 13:53:27 by James Vella »

2023-12-12, 14:38:00
Reply #2

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5468
    • View Profile
Just as said - Corona uses the RAM it needs, and "using more" would bring no benefit (as well as the fact that it could only be done by filling up the space with garbage anyway ;) ). In fact, if RAM maxes out, then you can run into crashes and slowdowns, so you most definitely do not want all your RAM used!
Tom Grimes | chaos-corona.com
Product Manager | contact us

2023-12-13, 00:05:14
Reply #3

bnji

  • Corona Team
  • Active Users
  • ****
  • Posts: 193
  • Benjamin
    • View Profile
    • Corona Renderer
Hi there @wasfrans
As said before, there's no need to use all of the RAM installed in your computer unless it is necessary.
By necessary, I mean if your scene has a lot of geometry, has a lot of materials applied to objects, textures are very memory-expensive, etc.
And as @Tom said, "If RAM maxes out, then you can run into crashes and slowdowns" or any other unexpected behavior.
It is always best to have your scene project organized and, most importantly, optimized; I mean, using rendering instances, low and high poly objects (depending on the distance from the camera), keeping materials setup as simple as possible, etc.
I hope this helps.
Benjamin Rosas | chaos-corona.com
3D Support Specialist - Corona | contact us
Corona Uploader l Upload

2023-12-13, 14:27:01
Reply #4

wasfrans

  • Active Users
  • **
  • Posts: 5
    • View Profile
thank you for the replies. It's not that I want corona to use all of the RAM.
In the old days, for example with photoshop, you could tell the app what max RAM it could use, like 80% for example.
Sometimes I'm tired of waiting :)

2023-12-13, 15:38:06
Reply #5

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5468
    • View Profile
As mentioned, increasing RAM usage (even to just 80% so it never uses it all) wouldn't speed anything up. Corona uses all the RAM it needs, and using more would not bring a speed increase at all, not even a tiny one - there is simply no use for that RAM (no data to store there, no textures to hold there, nothing). Unless you run out of RAM, the only thing that affects speed is the CPU usage.
Tom Grimes | chaos-corona.com
Product Manager | contact us

2023-12-13, 16:19:12
Reply #6

wasfrans

  • Active Users
  • **
  • Posts: 5
    • View Profile