Don't know if it works in your case, but what I notice is that from time to time reduce the number of "items" converted in one step helps.
For example if you open the agora_to_admf.sql file you can find this line:
---* {$to_prefix}messages 200that means that at each rount the converter will take 200 messages and convert all of them and the insert the result into the SMF database, try with a lower number, for example:
---* {$to_prefix}messages 50doing this will result into a slower conversion process, but at least should avoid/reduce similar issues...unless I'm completely wrong and in my case it was just a case...
