Have the option to set the default RAM

Have the option to set the default RAM at which the actor runs in actor.json. We can alreade define maxMemoryMbytes and minMemoryMbytes. In my case I want to allow a high maxMemoryMbytes for 1% power users, for most users that's total overkill. So I would like to set the default at like 512. Currently it will always default to 4GB which is quite a lot if you're not doing browser automation.
3 Replies
correct-apricot
correct-apricot6d ago
It can be set in the Settings tab of the Actor page.
No description
Louis Deconinck
Louis DeconinckOP6d ago
Yes, I know, but I mean from the perspective of the developer. As a developer I can set the minimum and maximum that the user can pick. But I can't influence the default the user will be presented with. This will always be 4 GB or the maximum I set.
correct-apricot
correct-apricot6d ago
But when a user shares me their actor runs, it's usually at the default I set it at.

Did you find this page helpful?