Re: [Qemu-devel] [PATCH] Save memory allocation in the elf loader

2013-02-25 Thread Alexander Graf
On 19.02.2013, at 15:41, Fabien Chouteau wrote: > The current elf loader uses too much memory. For example, I have a > executable with a bss section of 400 MB and I set the ram size to 512 > MB. Qemu uses about 780MB of RAM (which is fine), but there's a peak at > 1.6 GB during initialization (th

[Qemu-devel] [PATCH] Save memory allocation in the elf loader

2013-02-19 Thread Fabien Chouteau
The current elf loader uses too much memory. For example, I have a executable with a bss section of 400 MB and I set the ram size to 512 MB. Qemu uses about 780MB of RAM (which is fine), but there's a peak at 1.6 GB during initialization (this is not fine). This patch fixes two things: 1) do not

Re: [Qemu-devel] [PATCH] Save memory allocation in the elf loader

2013-02-19 Thread Fabien Chouteau
On 02/19/2013 04:51 PM, Paolo Bonzini wrote: > Il 19/02/2013 15:41, Fabien Chouteau ha scritto: >> The current elf loader uses too much memory. For example, I have a >> executable with a bss section of 400 MB and I set the ram size to 512 >> MB. Qemu uses about 780MB of RAM (which is fine), but the

Re: [Qemu-devel] [PATCH] Save memory allocation in the elf loader

2013-02-19 Thread Paolo Bonzini
Il 19/02/2013 15:41, Fabien Chouteau ha scritto: > The current elf loader uses too much memory. For example, I have a > executable with a bss section of 400 MB and I set the ram size to 512 > MB. Qemu uses about 780MB of RAM (which is fine), but there's a peak at > 1.6 GB during initialization (thi

[Qemu-devel] [PATCH] Save memory allocation in the elf loader

2011-11-30 Thread Fabien Chouteau
The current elf loader uses too much memory. For example, I have a executable with a bss section of 400 MB and I set the ram size to 512 MB. Qemu uses about 780MB of RAM (which is fine), but there's a peak at 1.6 GB during initialization (this is not fine). This patch fixes two things: 1) do not