[go: up one dir, main page]

Skip to content

MemoryError when downloading large artifacts

gle --download or --from can sometimes fail with MemoryError when large artifacts are downloaded:

Traceback (most recent call last):
  File "c:\python3.7\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\python3.7\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\python3.7\Scripts\gle.exe\__main__.py", line 7, in <module>
  File "c:\python3.7\lib\site-packages\gitlabemu\runner.py", line 379, in run
    do_gitlab_from(options, loader)
  File "c:\python3.7\lib\site-packages\gitlabemu\runner.py", line 309, in do_gitlab_from
    export_to=options.export)
  File "c:\python3.7\lib\site-packages\gitlabemu\gitlab_client_api.py", line 210, in do_gitlab_fetch
    with zipfile.ZipFile(seekable) as zf:
  File "c:\python3.7\lib\zipfile.py", line 1200, in __init__
    self._RealGetContents()
  File "c:\python3.7\lib\zipfile.py", line 1263, in _RealGetContents
    endrec = _EndRecData(fp)
  File "c:\python3.7\lib\zipfile.py", line 236, in _EndRecData
    fpin.seek(0, 2)
  File "c:\python3.7\lib\site-packages\gitlabemu\stream_response.py", line 46, in seek
    self._load_all()
  File "c:\python3.7\lib\site-packages\gitlabemu\stream_response.py", line 20, in _load_all
    self._bytes.write(chunk)
MemoryError
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information