Yes, it is a memory issue.
I tried to build one album at a time. Even that only works when I bump up the memory to 240M. Above it does not do anything, probably a system limit. Try the wholesale thing is still a no-go!
I play around with gd, netbpm, and imagemagick. All have the same problem.
Thanks for the suggestion.