Skip to content

Commit

Permalink
[platform/vs]: add memory to virtual switch
Browse files Browse the repository at this point in the history
* increase from 2GB to 8GB to prevent OOM crashes
* necessary because multi-ASIC devices have increased memory requirements

Signed-off-by: Lawrence Lee <t-lale@microsoft.com>
  • Loading branch information
Lawrence Lee committed Aug 2, 2019
1 parent 85745b7 commit 845778e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions platform/vs/sonic.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>sonic</name>
<memory unit='KiB'>2048000</memory>
<currentMemory unit='KiB'>2048000</currentMemory>
<vcpu placement='static'>1</vcpu>
<memory unit='GB'>8</memory>
<vcpu placement='static'>2</vcpu>
<resource>
<partition>/machine</partition>
</resource>
Expand Down

0 comments on commit 845778e

Please sign in to comment.