Free memory after use
Free memory after use
Fix performance when performing large inserts: 31 seconds vs 250 seconds for 500 records (in a specific test)