Hi Alex,
Max execution time is currently set to 300secs
I added some debug, and it just simply drops out of the foreach loop at around 100 items.
When I run the script, it executes and fails within 10 seconds
Server Settings
* Operating System : Linux
* Server : Apache
* Memory usage : 9.05 MByte
* MYSQL Version : 5.0.45-log
* SQL Mode : Not set
* PHP Version : 5.2.2
* PHP Safe Mode : Off
* PHP Allow URL fopen : On
* PHP Memory Limit : 300M
* PHP Max Upload Size : 300M
* PHP Max Post Size : 300M
* PHP Max Script Execute Time : 300s
* PHP Exif support : Yes ( V1.4 )
* PHP IPTC support : Yes
* PHP XML support : Yes
GD support
* GD Version : bundled (2.0.34 compatible)
* FreeType Support : Yes
* FreeType Linkage : with freetype
* T1Lib Support : No
* GIF Read Support : Yes
* GIF Create Support : Yes
* JPG Support : Yes
* PNG Support : Yes
* WBMP Support : Yes
* XPM Support : No
* XBM Support : Yes
* JIS-mapped Japanese Font Support : No