Resolving Issues Related to Memory Storage: “Storage Full”, “JavaScript Heap Out of Memory”

In some cases, Phantoms processing large data may encounter memory storage errors such as “JavaScript heap out of memory” or “Storage full.”

These errors can usually be resolved by adjusting settings or managing data more effectively. Here’s a guide to understanding and resolving each issue.

Why do these errors occur?

Memory-related issues typically occur when:

  • The Phantom is processing large data volumes, slowing down input and result handling.
  • Your PhantomBuster account has reached its storage capacity, preventing new launches or saving additional data.

Resolving “JavaScript Heap Out of Memory” error

💡 This error occurs when your result file exceeds the ~190MB limit. Phantoms are unable to handle files larger than this size.
⚠️ Phantoms generally cannot save files larger than ~190MB.

The "JavaScript heap out of memory" error typically occurs when the file containing your results is too large to handle.

How to resolve this

You can try one of the two approaches below:

1. Split your Phantom input into smaller batches:

Divide your input data into smaller spreadsheets (e.g. 1,000 rows per batch).

Process each batch one at a time using the same Phantom after the previous batch has been fully processed, or use multiple Phantoms to handle multiple spreadsheets at the same time.

2. Remove processed data from the Phantom input:

First, delete old or unused result files to free up storage space.

Then remove processed data from your input spreadsheet and output results file. This ensures the Phantom only processes new information.

 

Resolving “Storage Full” error

The "Storage full" error occurs when your storage limit is reached. This prevents Phantoms from storing results or launching properly.

💡 Visit this link and navigate to Other resources to view your current storage usage.

How to resolve this

1. Free up space by deleting unnecessary Phantoms or Flows (Free and paid plans):

  1. Go to your Dashboard or the Phantom's console page.
  2. Click the three dots in the upper right corner of the Phantom you want to delete.
  3. Select Delete.

Untitled.jpeg

⚠️ Deleting a Phantom or Flow will permanently delete all associated data and documents. Ensure you’ve saved any important results locally before proceeding.

2. Free up space by deleting unnecessary files (Paid plans only):

  1. Go to your Phantom's console page.
  2. Click the three dots in the top-right corner and select File Browser.
    Click File browser.jpeg
  3. Choose the files you want to delete and click Delete in the top-right corner.
    File Browser.jpeg
⚠️ It may take up to one hour for storage updates to reflect after deleting files or Phantoms.

 

Related guides

How to Manage and Organize your Dashboard

Overview of PhantomBuster’s Subscription Plans

Different Types Of Input Data For Phantoms

 

You can contact Support at any time for additional details on your PhantomBuster workspace.

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