added more memory for write_transactions (without that the program fails with win 32bits... don't understand...)