Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slim-down VM #595

Open
privat opened this issue May 8, 2023 · 1 comment
Open

Slim-down VM #595

privat opened this issue May 8, 2023 · 1 comment

Comments

@privat
Copy link
Contributor

privat commented May 8, 2023

$ curl -L https://get.pharo.org/64/ | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3899  100  3899    0     0   5894      0 --:--:-- --:--:-- --:--:--  5898
Downloading the latest 100 Image:
    http://files.pharo.org/get-files/100/pharoImage-x86_64.zip
Pharo.image
Downloading the latest pharoVM:
	http://files.pharo.org/get-files/100/pharo-vm-Linux-x86_64-stable.zip
pharo-vm/pharo
Creating starter scripts pharo and pharo-ui
$ du -h pharo-vm/
8,0K	pharo-vm/bin
198M	pharo-vm/lib
198M	pharo-vm/

200MB for a single VM seems huge. So I investigated and libs are unzipped into multiple version without symlinks, so multiplying file size.

$ ls -lh pharo-vm/lib/libharfbuzz.so*
-rwxr-xr-x 1 privat privat 28M 30 mar 07:10 pharo-vm/lib/libharfbuzz.so
-rwxr-xr-x 1 privat privat 28M 30 mar 07:10 pharo-vm/lib/libharfbuzz.so.0
-rwxr-xr-x 1 privat privat 28M 30 mar 07:10 pharo-vm/lib/libharfbuzz.so.0.50301.0

It appears that duplication is already present at build time.

@Rinzwind
Copy link
Contributor

Rinzwind commented Feb 7, 2024

Related issue: pharo-project/pharo-zeroconf#38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants