I've got datagrab set to import from a google doc spreadsheet in csv mode. There isn't much data in the grand scheme of things and only 250 records, but there are about 5 columns that are for relationship columns matching to other fields.

Now, i have php memory limit of 512mb and plenty of processing time but it has serious issues in not importing the data for the relationships.

I can't see any way to resolve this :(

2 Answers 2


In the import settings, it says to reduce batches to roughly 20 if having memory issues. Well, let me be clear, you will need to reduce that to more like 5-10! It seems to use serious amounts of memory to do the relationship fields. Still having issues? Reduce it even further.


I'm going to go out on a limb and say that something else is wrong with what you're doing/trying to do. I import ~1400 records, comprising over 40,000 lines of xml, and I only split the XML file into 3 files.

If you up your PHP memory limit (512MB is well more than enough; mine is 128MB) and it's not importing your records properly, then there's possibly an issue with the way you have your fields mapped in your import configuration.

Alternately, you may have set your PHP memory allocation to 512MB, but it might not be set in the correct location or it might be being overridden by a config elsewhere. Create a php file that you can visit in your browser and add the following:

$memory_limit = ini_get('memory_limit');

echo $memory_limit;

It will output what the server is seeing as the PHP memory limit.

Finally, there while you can set PHP to have 512MB of RAM as its limit, this means nothing if you don't have that much available on your host/server. You might be running out of system memory, and not necessarily PHP-allocated-memory. Does that make sense?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.