XXXXXX@Mezcal:/tmp/home/root# speedtest-cli --no-pre-allocate
Retrieving speedtest.net configuration...
Testing from XXXXXXXXXX (XX.XXX.XXX.XXX)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
XXXXXXXXXXXXXXXXXX [0.52 km]: 5.4080000000000004 ms
Testing download speed................................................................................
Download: 47.58 Mbit/s
Testing upload speed.............................................................................Exception in thread Thread-85:
Traceback (most recent call last):
File "/opt/lib/python3.6/site-packages/speedtest.py", line 766, in pre_allocate
(chars * multiplier)[0:int(self.length) - 9]
MemoryError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/threading.py", line 916, in _bootstrap_inner
File "/opt/lib/python3.6/site-packages/speedtest.py", line 823, in run
f = self._opener(request)
File "/request.py", line 526, in open
File "/request.py", line 544, in _open
File "/request.py", line 504, in _call_chain
File "/opt/lib/python3.6/site-packages/speedtest.py", line 464, in http_open
req
File "/request.py", line 1318, in do_open
File "/client.py", line 1239, in request
File "/client.py", line 1285, in _send_request
File "/client.py", line 1234, in endheaders
File "/client.py", line 1055, in _send_output
File "/client.py", line 1010, in _read_readable
File "/opt/lib/python3.6/site-packages/speedtest.py", line 784, in read
chunk = self.data.read(n)
File "/opt/lib/python3.6/site-packages/speedtest.py", line 778, in data
self.pre_allocate()
File "/opt/lib/python3.6/site-packages/speedtest.py", line 771, in pre_allocate
'Insufficient memory to pre-allocate upload data. Please '
speedtest.SpeedtestCLIError: Insufficient memory to pre-allocate upload data. Please use --no-pre-allocate