mysql progress: memory fixes