Facebook Ads Scraper avatar
Facebook Ads Scraper
Try for free

Pay $5.00 for 1,000 Campaigns

View all Actors
Facebook Ads Scraper

Facebook Ads Scraper

apify/facebook-ads-scraper
Try for free

Pay $5.00 for 1,000 Campaigns

Extract advertising data from one or multiple Facebook Pages. Get page details, reach estimates, publisher platforms, report count, number of impressions, ad IDs, timestamps, and more. Download Facebook ads data in JSON, CSV, and Excel and use it in apps, spreadsheets, and reports.

TM

keep getting out of memory error

Closed

top_marmot opened this issue
2 months ago

I get a lot of OOM conditions and have to ressurect a lot of times.

alexey avatar

Hi! For right now please use less URLs per run, currently actor RAM limited to 1Gb and its just not enough for processing big batches. Will ask store manager why limitation is applied and can it be changed, then let you know

TM

top_marmot

2 months ago

Very clear feedback thanks for the note/patience!

VL

validated

2 months ago

Is is possible to configure memory for each run in the API? We don't run scraping jobs on the Apify GUI.

TM

top_marmot

2 months ago

Did anything change recently with APIFY?

In the past I was able to upload spreadsheets with 1,000 facebook pages and now that causes speedbumps.

TM

top_marmot

2 months ago

Is it possible the Facebook page errors are the root cause here since I am testing tiny lists?

TM

top_marmot

2 months ago

Guys this product is unusable.

Is there a way you can allow the memory to go to 2 GB.

TM

top_marmot

2 months ago

I'm very reluctant to renew without the memory increasing.

And I did reduce the volume.

zuzka avatar

Hey, the available memory is set to max 2gb and we are working on further optimizing the runs.

alexey avatar

Hi! Issue fixed by refactoring token generation, new version works under 1Gb of RAM with over 1.000 of start URLs https://console.apify.com/view/runs/KkVjuXKJm0GVJXFVa More RAM will allow you to scrape faster

Thanks for your patience, your feedback helped a lot to find better solution

TM

top_marmot

a month ago

Thanks so much. I was having an issue that when I export APIFY to excel there are over 2000 columns. Most of them irrelevant.

How do I resolve this?

lukaskrivka avatar

Hello,

You can use this Actor - https://apify.com/lukaskrivka/dedup-datasets

Put there the big dataset and choose "Limit fields to load" and it will produce dataset with only the fields you need which you can download to Excel.

TM

top_marmot

a month ago

does that actor cost money?

and what changed recently that is causing these issues I used to be able to just use the program effortlessly.

thx for patience.

alexey avatar

https://apify.com/lukaskrivka/dedup-datasets actor is free, as for output value - actor forwarding internal Facebook API data "as is", so when Facebook applying updates to data format its reproduced by actor.

We will continue to follow such approach because this way actor updated without additional programming or maintenance. If some new or changed dataset values not useful for your case, please filter out by external actor or some other tool

You can also ask community in Apify Discord #hire-freelancers to build a simple integration script for this.

Developer
Maintained by Apify
Actor metrics
  • 310 monthly users
  • 24 stars
  • 99.8% runs succeeded
  • 4 days response time
  • Created in Apr 2023
  • Modified 5 days ago