Apify Discord Mirror

Updated 5 months ago

Memory usage

At a glance

The community member is using the free plan of Apify and is limited to 4GB of actor RAM. They are wondering if there is a way to give Apify a batch of runs so it can schedule them based on the available memory, or if they need to manage the available memory themselves. The community members discuss that the user can manage the memory themselves, and one community member mentions they plan to release a function for this in the SDK soon. The community members also discuss ways to check the available memory, such as using an API to get the current value, while noting that other tasks may have started in the meantime if the user doesn't have sole control over the account.

Useful resources
Hello everyone,

Am using free plan currenty (planning to upgrade soon) and i cant use more than 4GB actor ram (as explained in the pricing section).

Is there a way i can give Apify a batch of runs so he can schedule them accordingly to how much memory is available ? Or do i have to manage available memory by my side ?

Thanks, Emmanuel
A
L
E
7 comments
just advanced to level 1! Thanks for your contributions! πŸŽ‰
Hi Emmanuel, you can to manage memory yourself now. I plan to release a function for this soon to SDK
Thanks for the answer. Please how can i manage to do this ? is there a way i can get available memory ?
or managing a number of running task based on memory given by my plan is the best way to go ?
sorry for the spam . is there a way i can get available memory ?
Generally, if you know your total memory, you can just manage it locally completely but if you don't, you can use this API to get current value: https://api.apify.com/v2/users/me/limits?token=TOKEN. Just keep in mind that meanwhile some other task could have started if you don't have sole control over the account.
Thank you for all the answers !
Add a reply
Sign up and join the conversation on Discord