title: Magento Internal server error while importing large file
body: <p>I have a site built in magento.In the admin panel I have written a custom script to import products.For now I am uploading upto 500 products at a time. This process also includes importing images from diff websites.</p>
  
  <p>Now I am facing the <code>internal server error 500</code> while importing the file. As it is a big file it takes 30-40 mins to run. I have increased all the settings from php.ini</p>
  
  <pre><code>max_execution_time to 6000
  memory_limit to 1024M
  upload_max_size 1000M
  post_max_size 1000
  </code></pre>
  
  <p>What setting I am missing. If I am crossing memory limit. Is there way to clear memory. I have also unset the variables from my code for each loop.</p>