-
Bug
-
Resolution: Done
-
Medium
-
Frankfurt Release
-
None
During package preparation whole file is read and stashed in to RAM. when the file is large, like ONAP package it will result in an error:
Binaries - workaround
Creating package /build_workspace/common/package/resources_package.tar
Creating package /build_workspace/common/package/aux_package.tar
Traceback (most recent call last):
File "./offline-installer/build/package.py", line 335, in <module>
run_cli()
File "./offline-installer/build/package.py", line 331, in run_cli
args.add_metadata)
File "./offline-installer/build/package.py", line 266, in build_offline_deliverables
add_checksum_info(output_dir)
File "./offline-installer/build/package.py", line 111, in add_checksum_info
cksum = hashlib.md5(open(data, 'rb').read()).hexdigest()
MemoryError