-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Labels
Description
When loading a lot of data using .select(), I get (probably, more than 2GB?):
Traceback (most recent call last):
File "batch.py", line 34, in <module>
cleanup(demo)
File "batch.py", line 22, in cleanup
for x in space.select():
File "/usr/local/lib/python2.7/dist-packages/tarantool/space.py", line 75, in select
return self.connection.select(self.space_no, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/tarantool/connection.py", line 659, in select
response = self._send_request(request)
File "/usr/local/lib/python2.7/dist-packages/tarantool/connection.py", line 283, in _send_request
request)
File "/usr/local/lib/python2.7/dist-packages/tarantool/connection.py", line 207, in _send_request_wo_reconnect
response = Response(self, self._read_response())
File "/usr/local/lib/python2.7/dist-packages/tarantool/connection.py", line 193, in _read_response
return self._recv(length)
File "/usr/local/lib/python2.7/dist-packages/tarantool/connection.py", line 171, in _recv
tmp = self._socket.recv(to_read)
OverflowError: signed integer is greater than maximum
It's ok to limit large queries, but this is probably a error related to 32bit data field and on 5GB of data it will read only 1GB.