The constructor of the MigrationBase abstract class assumes that ini_get('memory_limit') will always return a value that ends in either g, m, or k. My ISP sets a pure numeric value, which causes the constructor to throw an exception for "Invalid PHP memory_limit".
I would suggest that you first test to see if the value returned from ini_get('memory_limit') is a number. Then, only if it is not a number, look for the g, m, or k values.
I'll attach a patch that does this in a reply, once an issue number is assigned.
Comments
Comment #1
David4514 commentedThe attached patch first tests for a numeric value in $limit.
Comment #2
mikeryanCommitted to D6 and D7, thanks!