Mass User Profile Import problems with Drupal

Post by Mike C Picture of Mike C
Ixis Service
Reading time 1 mins clock

Drupal 5.x and 6.x both suffer from static variable problems in the Forms API which causes huge problems with memory usage whilst processing large amounts of data during a single-pass import.

During a recent project we needed to import 25,000 user profiles in to a Drupal powered site, creating a login and populating a profile node for them.

A lot of drupal_execute() calls are used by modules such as usernode and node_profile.
static variables in the validation code causes problems.
chunking csv data stops memory usage.
clear drupal messages regularly.


Mike C

Managing Director

17 years of Drupal development wrangling and a background in digital project architecture.

Add new comment

Share this article

Sign up to our newsletter!

Our thoughts

Let's work together

Get in touch and find out how we can empower your organisation.
Back to top