Closed carmenbianca closed 6 months ago
Can you repeat this in docker? i.e.
docker run --rm -it fedora /bin/bash \
-c "yum install -y pip && pip install xonsh && xonsh"
Xonsh installed through pip
is not affected. Only xonsh installed through dnf
is. You might need to use the fedora:rawhide
image to get the latest xonsh.
Disclaimer: I maintain Fedora's xonsh package.
Update: Can't replicate this in Docker/Podman:
podman run --rm -it fedora /bin/bash \
-c "dnf install -y xonsh /usr/bin/free && xonsh"
free -m
# current memory usage is printed here
xonsh
free -m
# 20 MB less is used
xonfig
Expected Behavior
The xonsh process should consume approximately 20 MB.
Current Behavior
When
xonsh
from the Fedora xonsh package is launched, it consumes upwards of 100 MB. By comparison,pipx install xonsh; xonsh
consumes approximately 20 MB, which I assume is fairly normal.Steps to Reproduce
sudo dnf install xonsh
xonsh
Furthermore
The xonsh.spec can be found here.
The build output can be found here.#
There are functionally no differences between upstream xonsh and Fedora's xonsh. Here a super dirty script + output:
For community
⬇️ Please click the 👍 reaction instead of leaving a
+1
or 👍 comment