Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1070543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T20:34:47+00:00 2026-05-16T20:34:47+00:00

I have a script that processes Magento’s product catalog and exports it. Unfortunately it

  • 0

I have a script that processes Magento’s product catalog and exports it.

Unfortunately it is killed halfway because it ends up using too much memory.

I am afraid I have incurred in the problem with the php garbage collector not being able to free circular references, hence causing a memory leak.

I’ve tried the fix suggested at
http://ringsdorff.net/2009/07/23/guest-post-fix-for-memory-leaks-in-magento/
but unfortunately this breaks the script (no data is exported at all).

Does anybody know if there are any other fixes for this problem? Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T20:34:48+00:00Added an answer on May 16, 2026 at 8:34 pm

    Any time you are using catalog/product objects, there is in fact a memory leak, and your app will not be able to export everything at once. This is most likely the reason for the structure of the core Dataflow module. In the past, I have used two solutions:

    1. Break the export up into chunks, as DataFlow does.
    2. Write your own wrappers for the data, rather than using Magento’s

    If you take the implicit third option of fixing Varien’s memory leak, please remember to contribute it back as a bugfix. 🙂

    Hope that helps!

    Thanks,
    Joe

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an IronPython script that looks for current running processes using WMI. The
I have a Python script that manages a series of CasperJS tasks and processes
I have a script that processes queued records in a SQL table in SQL
I have an awk script that processes a csv file and produces a report
I have a download script that processes my downloads: download.php?file=file_refrence_here How can I prevent
I have a bash script that processes all of the files in a directory
I have a py script that processes files with extension '.hgx'.Example : test.hgx (
I have a vb script that processes text files on a server, however, very
I have a script that processes user input and before it continues with database
I have a perl script that processes millions of lines of performance data, so

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.