1

I am trying to to get data from SQL server database and save to MySQL database using by php_sqlsrv. it works fine, but when I try to retrieve more than 1500 or more rows in one query it shows this message:

Error Number: IMSSP/-59 Memory limit of 10240 KB exceeded for buffered query SELECT * FROM mytable;

How can I fix this? can we fix from php xammp? or is it a sqlsrv problem?

Álvaro González
  • 142,137
  • 41
  • 261
  • 360
Lee H
  • 29
  • 2
  • 12

1 Answers1

1

try to adding sqlsrv.ClientBufferMaxKBSize = 10240 into your php.ini

Rahul Gupta
  • 9,775
  • 7
  • 56
  • 69