archiso_pxe_http: wasted RAM due to duplication of the squashfs image

Just after booting version 6.0.3 from PXE:

[root@sysresccd ~]# cat /proc/cmdline 
BOOT_IMAGE=/sysresccd/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd archiso_http_srv=http://192.168.4.1:69/sysresccd/ checksum ip=dhcp
[root@sysresccd ~]# free -h
              total        used        free      shared  buff/cache   available
Mem:          1.9Gi        66Mi        80Mi       1.6Gi       1.8Gi       110Mi
Swap:            0B          0B          0B
[root@sysresccd ~]# df -h
Filesystem      Size  Used Avail Use% Mounted on
dev             973M     0  973M   0% /dev
run             995M   92M  904M  10% /run
httpspace       1.5G  789M  704M  53% /run/archiso/httpspace
copytoram       1.5G  789M  704M  53% /run/archiso/copytoram
cowspace        256M  928K  256M   1% /run/archiso/cowspace
/dev/loop0      789M  789M     0 100% /run/archiso/sfs/airootfs
airootfs        256M  928K  256M   1% /
tmpfs           995M     0  995M   0% /dev/shm
tmpfs           995M     0  995M   0% /sys/fs/cgroup
tmpfs           995M     0  995M   0% /tmp
tmpfs           995M  1.5M  994M   1% /etc/pacman.d/gnupg
tmpfs           199M     0  199M   0% /run/user/0

I was surprised to have so little available memory.

The httpspace mount point is unused:

[root@sysresccd ~]# umount /run/archiso/httpspace
[root@sysresccd ~]# free -h
              total        used        free      shared  buff/cache   available
Mem:          1.9Gi        66Mi       870Mi       882Mi       1.0Gi       899Mi
Swap:            0B          0B          0B

But ideally, we should even avoid a temporary so that it's possible to boot a machine with e.g. 1.5G RAM.

Assignee Loading
Time tracking Loading