Merge "Increase the memory limit for qemu-img"
This commit is contained in:
@@ -46,8 +46,8 @@ sgdisk -Z $DEVICE
|
|||||||
|
|
||||||
log "Imaging $IMAGEFILE to $DEVICE"
|
log "Imaging $IMAGEFILE to $DEVICE"
|
||||||
|
|
||||||
# limit the memory usage for qemu-img to 1 GiB
|
# limit the memory usage for qemu-img to 2 GiB
|
||||||
ulimit -v 1048576
|
ulimit -v 2097152
|
||||||
qemu-img convert -t directsync -O host_device $IMAGEFILE $DEVICE
|
qemu-img convert -t directsync -O host_device $IMAGEFILE $DEVICE
|
||||||
sync
|
sync
|
||||||
|
|
||||||
|
7
releasenotes/notes/up-qemuimg-mem-1536183a02b3a235.yaml
Normal file
7
releasenotes/notes/up-qemuimg-mem-1536183a02b3a235.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Increase memory usage limit for ``qemu-img convert`` command to 2 GiB.
|
||||||
|
See `Story 2008667
|
||||||
|
<https://storyboard.openstack.org/#!/story/2008667>`_
|
||||||
|
for details.
|
Reference in New Issue
Block a user