Expedia Hotels 2.6 avatar

Expedia Hotels 2.6

Try for free

7 days trial then $40.00/month - No credit card required now

Go to Store
Expedia Hotels 2.6

Expedia Hotels 2.6

jupri/expedia-hotels
Try for free

7 days trial then $40.00/month - No credit card required now

💫 Scrape 🟡 Expedia.com 🔴 Hotels.com and other hotel website variants

PR

Actor does not accept memory_mbytes parameter from API

Closed

apriliars opened this issue
10 months ago

Actor should accept memory_mbytes (int, optional): Memory limit for the run, in megabytes specified in the python API, however the actor returns:

2024-03-18T21:34:27.695Z ❌ AssertionError: unknown parameter => "MEMORY_MBYTES" 2024-03-18T21:34:27.952Z 💔 Failed, unknown parameter => "MEMORY_MBYTES" ... sad.

Jupri avatar

cat (Jupri)

10 months ago

Hello. the actor does not support memory_mbytes parameter, its part of Apify Python SDK parameter.

If you run using API, you can specify memory parameter for example: (POST REQUEST) https://api.apify.com/v2/acts/actorId/run-sync?token=YOUR_API_KEY&memory=256

For more info please read https://docs.apify.com/api/client/python/reference/class/ActorClient#call

run_input => The input to pass to the actor run.

memory_mbytes => Memory limit for the run, in megabytes. By default, the run uses a memory limit specified in the default run configuration for the actor.

so, memory_mbytes parameter is separated from run_input

PR

apriliars

10 months ago

Thank you so much

Developer
Maintained by Community

Actor Metrics

  • 17 monthly users

  • 10 stars

  • >99% runs succeeded

  • 2.5 days response time

  • Created in Jul 2022

  • Modified a month ago