Python 内存不足/can';使用gsutil cp(谷歌云存储)时不能启动新线程

Python 内存不足/can';使用gsutil cp(谷歌云存储)时不能启动新线程,python,google-cloud-storage,Python,Google Cloud Storage,我正在使用Google Cloud SDK中的gsutil cp命令来检索存储在我的Google Cloud存储桶中的一些文件 以下是输出: gsutil -m cp gs://my-bucket/spark-output/* . Copying gs://my-bucket/spark-output/_SUCCESS... Copying gs://my-bucket/spark-output/part-00000... Copying gs://my-bucket/spark-output/

我正在使用Google Cloud SDK中的
gsutil cp
命令来检索存储在我的Google Cloud存储桶中的一些文件

以下是输出:

gsutil -m cp gs://my-bucket/spark-output/* .
Copying gs://my-bucket/spark-output/_SUCCESS...
Copying gs://my-bucket/spark-output/part-00000...
Copying gs://my-bucket/spark-output/part-00001...
Copying gs://my-bucket/spark-output/part-00002...
Copying gs://my-bucket/spark-output/part-00003...
can't start new threadGiB/ 13.5 GiB]  41% Done   7.1 MiB/s ETA 00:19:03
can't start new threadGiB/ 13.5 GiB]  41% Done   7.1 MiB/s ETA 00:19:03
can't start new threadGiB/ 13.5 GiB]  41% Done   7.1 MiB/s ETA 00:19:03
can't start new threadGiB/ 13.5 GiB]  41% Done   7.2 MiB/s ETA 00:18:54
can't start new threadGiB/ 13.5 GiB]  41% Done   7.2 MiB/s ETA 00:19:01
can't start new threadGiB/ 13.5 GiB]  41% Done   7.2 MiB/s ETA 00:19:01
can't start new threadGiB/ 13.5 GiB]  41% Done   7.6 MiB/s ETA 00:17:48
can't start new threadGiB/ 13.5 GiB]  41% Done   7.7 MiB/s ETA 00:17:41
can't start new thread
can't start new threadGiB/ 13.5 GiB]  41% Done   7.7 MiB/s ETA 00:17:30
can't start new threadGiB/ 13.5 GiB]  45% Done   6.9 MiB/s ETA 00:18:26
can't start new threadGiB/ 13.5 GiB]  45% Done   7.9 MiB/s ETA 00:15:52
can't start new threadGiB/ 13.5 GiB]  45% Done   7.9 MiB/s ETA 00:15:50
can't start new threadGiB/ 13.5 GiB]  45% Done   7.9 MiB/s ETA 00:15:50
\ [26/74 files][  6.2 GiB/ 13.5 GiB]  45% Done   7.1 MiB/s ETA 00:17:43
out of memory
out of memory
out of memory
out of memory
out of memory
out of memory
out of memory
out of memory
out of memory
out of memory
out of memory
out of memory
out of memory
out of memory
out of memorys][  6.2 GiB/ 13.5 GiB]  45% Done   5.4 MiB/s ETA 00:23:17
out of memory
out of memory
out of memory


out of memory
- [26/74 files][  6.2 GiB/ 13.5 GiB]  45% Done   4.8 MiB/s ETA 00:26:10
out of memory
out of memory

\
out of memorys][  6.2 GiB/ 13.5 GiB]  45% Done   1.5 MiB/s ETA 01:22:50
| [26/74 files][  6.2 GiB/ 13.5 GiB]  45% Done 942.6 KiB/s ETA 02:15:55

out of memory
out of memorys][  6.2 GiB/ 13.5 GiB]  45% Done 119.0 KiB/s ETA 17:56:57
CommandException: Some components of .\part-00038 were not downloaded successfully. Please retry this download.

- [26/74 files][  6.2 GiB/ 13.5 GiB]  45% Done 164.4 KiB/s ETA 12:59:04
out of memory
\ [26/74 files][  6.2 GiB/ 13.5 GiB]  45% Done 164.5 KiB/s ETA 12:58:31
out of memory
CommandException: Some components of .\part-00035 were not downloaded successfully. Please retry this download.
/
CommandException: Some components of .\part-00027 were not downloaded successfully. Please retry this download.
CommandException: Some components of .\part-00040 were not downloaded successfully. Please retry this download.
CommandException: Some components of .\part-00025 were not downloaded successfully. Please retry this download.
CommandException: Some components of .\part-00031 were not downloaded successfully. Please retry this download.
CommandException: Some components of .\part-00033 were not downloaded successfully. Please retry this download.
CommandException: Some components of .\part-00037 were not downloaded successfully. Please retry this download.
CommandException: Some components of .\part-00039 were not downloaded successfully. Please retry this download.
CommandException: Some components of .\part-00036 were not downloaded successfully. Please retry this download.
CommandException: Some components of .\part-00026 were not downloaded successfully. Please retry this download.
CommandException: Some components of .\part-00034 were not downloaded successfully. Please retry this download.
can't start new thread
CommandException: Some components of .\part-00028 were not downloaded successfully. Please retry this download.
CommandException: Some components of .\part-00029 were not downloaded successfully. Please retry this download.
can't start new threadGiB/ 13.5 GiB]  45% Done     0.0 B/s
can't start new thread
can't start new thread
can't start new thread
can't start new thread
can't start new thread
can't start new thread
can't start new thread
CommandException: 47 files/objects could not be transferred.
在没有
-m
参数的情况下运行命令仍然会崩溃。 我的Google Cloud SDK是最新的,在Windows 10上运行。 我的网络连接很稳定

谢谢你的帮助