hello, i use some scripts to mass import nodes. i'm used to do this trough ./drush script myscript.php.
even if i don't need the theme system bootstrapped at all (because there's no themed output using drush from command line)
theming functions are leaking (a lot of) memory for each node_save() because of the including of templates.tpl and so on.
is there any way to disable the theme system during certain (bulk) operations ?
Comments
Comment #1
gunzip commentedok i've figured it out myself: putting "drupal_maintenance_theme()" at the start of the script seems to have solved the issue.
Comment #2
moshe weitzman commentedglad you found a fix. this is really a drupal question - drush just bootstraps to full.