I get an response in Python program from SQL server. How big can this response be? What is the maximum? Coult it be as much as about 100 mb?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
See
sys.maxsize: http://docs.python.org/library/sys.htmlOn my MacBook Pro with a 64-bit build of CPython, it’s quite sensibly 263-1 bytes:
While on my 32-bit Linux box, it’s 2^31-1:
In practice, of course, you’re unlikely to be able to actually make use of objects this large, but you can expect to run into serious practical problems (like, say, being out of memory or taking forever to load/save objects from storage) before you hit the theoretical limits.