JavaScript heap out of memory

The error "JavaScript heap out of memory" means that the Phantom is running out of space to save the CSV results file at the end of its launch and your results file is too large to be saved. Phantoms generally cannot save files larger than ~190MB.

To solve this, we recommend splitting your scraping across multiple results files.

You can do this by changing the name of the results CSV file in the Phantom's setup when processing a new input, and removing lines in your input spreadsheet that have already been processed. You will find the option to rename your results CSV file within your Phantoms setup: Behavior > Results file settings.

If the input is a single URL, check the "Split the result file" option in the Behavior section of the Phantom's setup. 


If you think this article does not address your issue, please contact Support directly. We are continuously improving, so your feedback means the world to us!

Was this article helpful?
0 out of 1 found this helpful