I have a map with huge amount of data being populated (around 300,000 records in approx)
and iterating it as below ,
for (Map.Entry&
My suggestion is you can use Stored procedure. or use can use batch wise update instead of this.
Stored procedure
More about sql batch update.