CA
exotic-emerald
Memory usage
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
5 Replies
@Emmanuel just advanced to level 1! Thanks for your contributions! 🎉
afraid-scarlet•3y ago
Hi Emmanuel, you can to manage memory yourself now. I plan to release a function for this soon to SDK
exotic-emeraldOP•3y ago
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 @Lukas Krivka. is there a way i can get available memory ?
afraid-scarlet•3y ago
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.
exotic-emeraldOP•3y ago
Thank you for all the answers !