How is PaleMoon 5 times smaller than Firefox on macOS? Topic is solved
Moderator: dbsoft
Forum rules
Important note:
The old Mac OS versions of Pale Moon were provided by various people and not official or in any way organized. Please make sure you check the date of topic threads to know if the topic is current or relevant! We are using this board for both old discussions and new development of Pale Moon on Mac.
Any specific bugs you find that don't have their own topic yet: please make a new topic; one bug per topic please to keep things organized.
Important note:
The old Mac OS versions of Pale Moon were provided by various people and not official or in any way organized. Please make sure you check the date of topic threads to know if the topic is current or relevant! We are using this board for both old discussions and new development of Pale Moon on Mac.
Any specific bugs you find that don't have their own topic yet: please make a new topic; one bug per topic please to keep things organized.
-
marigold
- Moonbather

- Posts: 61
- Joined: 2023-05-26, 17:45
How is PaleMoon 5 times smaller than Firefox on macOS?
I use PaleMoon as my regular browser and also have Tor Browser (Firefox) as my stand-by browser. While upgrading PaleMoon to 34.3.0.1, I observed that the latest version of Palemoon is only around 103+ MB where as the latest version of Tor Browser (Firefox) is around 503+ MB - that's 5 times bigger than PaleMoon! Even though I had deleted the Tor module (around 70+ MB) from the Tor Browser, I thought maybe the large size is just particular to the Tor Browser. So I downloaded the latest version of Firefox (macOS), and to my surprise, that is also around 503+ MB.
Now, I know that while PaleMoon is a fork of Firefox its codebase has diverged from it. But even without the code for something like WebRTC, WebExtensions and DRM media extensions, is there any particular technical decisions that have made PaleMoon / Goanna 5 times smaller than Firefox / Gecko?
(Kudos to the PaleMoon team for that)!
Now, I know that while PaleMoon is a fork of Firefox its codebase has diverged from it. But even without the code for something like WebRTC, WebExtensions and DRM media extensions, is there any particular technical decisions that have made PaleMoon / Goanna 5 times smaller than Firefox / Gecko?
(Kudos to the PaleMoon team for that)!
-
BenFenner
- Keeps coming back

- Posts: 979
- Joined: 2015-06-01, 12:52
- Location: US Southeast
Re: How is PaleMoon 5 times smaller than Firefox on macOS?
I'm way too lazy to check, but it is unclear if you've confirmed the size of the Pale Moon browser installed on disc, or the installer size itself, or only the size of the update? Those are all potentially 3 very different sizes (not to mention the size of the codebase) and each only so meaningful on their own. Then you're trying to compare that to what exactly? Other browser installer sizes?
Don't make us work for this.
Don't make us work for this.
-
jobbautista9
- Board Warrior

- Posts: 1237
- Joined: 2020-11-03, 06:47
- Location: Philippines
Re: How is PaleMoon 5 times smaller than Firefox on macOS?
I think Firefox's macOS version is a "fat binary", which allows it to support both Intel and ARM in the same package. We have separate DMGs for each architecture.

Tired of creating stuff!
Avatar artwork by Shinki669: https://www.pixiv.net/artworks/113645617
XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.
-
marigold
- Moonbather

- Posts: 61
- Joined: 2023-05-26, 17:45
-
marigold
- Moonbather

- Posts: 61
- Joined: 2023-05-26, 17:45
Re: How is PaleMoon 5 times smaller than Firefox on macOS?
Yes, that seems to be it.jobbautista9 wrote: ↑2026-06-15, 06:13I think Firefox's macOS version is a "fat binary", which allows it to support both Intel and ARM in the same package. We have separate DMGs for each architecture.
Code: Select all
> file /Applications/Pale\ Moon.app/Contents/MacOS/palemoonCode: Select all
/Applications/Pale Moon.app/Contents/MacOS/palemoon: Mach-O 64-bit executable x86_64Code: Select all
> file /Applications/Tor\ Browser.app/Contents/MacOS/firefox Code: Select all
/Applications/Tor Browser.app/Contents/MacOS/firefox: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64
- Mach-O 64-bit executable x86_64] [arm64:Mach-O 64-bit executable arm64
- Mach-O 64-bit executable arm64]
/Applications/Tor Browser.app/Contents/MacOS/firefox (for architecture x86_64):Mach-O 64-bit executable x86_64
/Applications/Tor Browser.app/Contents/MacOS/firefox (for architecture arm64): Mach-O 64-bit executable arm64-
Moonchild
- Project founder

- Posts: 39633
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: How is PaleMoon 5 times smaller than Firefox on macOS?
It's because of their massive bloat due to Rust, if nothing else. Their xul.dll in Windows is currently a whopping 172 MB in size (as opposed to our 38). I'm pretty sure most of that is due to Rust. Add to that a ton of gadgeteering support and "remote" control code and telemetry, and it adds up.
Not to mention a bunch of "helper apps" like a messaging proxy that tightly integrates with Chrome if installed on the same system.
Not to mention a bunch of "helper apps" like a messaging proxy that tightly integrates with Chrome if installed on the same system.
"Sales hates anything that can't be turned into a confident sentence." - anonymous warehouse worker
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
UCyborg
- Board Warrior

- Posts: 1086
- Joined: 2019-01-10, 09:37
- Location: Slovenia
Re: How is PaleMoon 5 times smaller than Firefox on macOS?
Chromium's chrome.dll is 2x times that and that's still C++ I think. 🙃
The Merovingian wrote:Choice is an illusion, created between those with power, and those without.
-
Moonchild
- Project founder

- Posts: 39633
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: How is PaleMoon 5 times smaller than Firefox on macOS?
Actually, looking at the nmhproxy included in Firefox, I fell into a bit of a rabbit hole. Neither the bz bug introducing it nor follow ups have descriptions, at all. And they link to Jira as a see-also that is restricted to Mozilla devs only. So basically, Firefox comes with a black box listening proxy that listens for native messages from Chrome that can directly control the browser... !
I'd be extremely weary of such a setup. That would be an easy way for malware to hijack Firefox if they figure out the control protocol for it (seems to be json from stdin)...
I'd be extremely weary of such a setup. That would be an easy way for malware to hijack Firefox if they figure out the control protocol for it (seems to be json from stdin)...
You do not have the required permissions to view the files attached to this post.
"Sales hates anything that can't be turned into a confident sentence." - anonymous warehouse worker
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
moonbat
- Knows the dark side

- Posts: 5901
- Joined: 2015-12-09, 15:45
Re: How is PaleMoon 5 times smaller than Firefox on macOS?
Chrome wants to become a VM for web applications and are probably trying to replicate functionality that belongs in an operating system.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net
-
UCyborg
- Board Warrior

- Posts: 1086
- Joined: 2019-01-10, 09:37
- Location: Slovenia
Re: How is PaleMoon 5 times smaller than Firefox on macOS?
^ You could say it already is.
The Merovingian wrote:Choice is an illusion, created between those with power, and those without.
-
Moonchild
- Project founder

- Posts: 39633
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: How is PaleMoon 5 times smaller than Firefox on macOS?
Pretty much. And Chrome also controls the specs of that VM.
We're partially there as well with how our JS has massively expanded. Unfortunately it has its drawbacks as well.
"Sales hates anything that can't be turned into a confident sentence." - anonymous warehouse worker
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
marigold
- Moonbather

- Posts: 61
- Joined: 2023-05-26, 17:45
Re: How is PaleMoon 5 times smaller than Firefox on macOS?
Why would Firefox need "helper apps" to integrate with Google Chrome? Perhaps it is for "syncing browsing data" between the two - if I remember right, both can can import bookmarks and maybe even history from each other? But it is weird if, as you say, Google Chrome can send messages to Firefox and ... do something ... !!? (Or did you mean the "Firefox's chrome"?)
-
Moonchild
- Project founder

- Posts: 39633
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: How is PaleMoon 5 times smaller than Firefox on macOS?
No i meant the Chrome browser. And no, it is not for "syncing data" it is literally an "in" for a native messaging protocol to launch and control parts of Firefox. That has zero actual documentation open to the public.
"Sales hates anything that can't be turned into a confident sentence." - anonymous warehouse worker
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
Gemmaugr
- Astronaut

- Posts: 745
- Joined: 2025-02-03, 07:55
Re: How is PaleMoon 5 times smaller than Firefox on macOS?
Does this shed some more light on that black box? https://bugzilla.mozilla.org/show_bug.cgi?id=1876342
||OS: Win 10 | CPU: i7 10700 | GPU: GeForce RTX 3070||
"Judge a person not by their superficial identity attributes, but by the content of their character."
"Organized Identity Politics are the bane of civilized society."
"Judge a person not by their superficial identity attributes, but by the content of their character."
"Organized Identity Politics are the bane of civilized society."
-
Moonchild
- Project founder

- Posts: 39633
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: How is PaleMoon 5 times smaller than Firefox on macOS?
Not really, as it just deals with system registration of the proxy as a scheme handler; it doesn't explain anything about the proxy itself other than a drive-by mention of a "dual browser" setup and launching Firefox from within Chrome, which I already figured out before. It says nothing about why this would be a thing to begin with, or why Firefox needs to integrate so tightly with Chrome, or how it can be used in good or bad ways.Gemmaugr wrote: ↑2026-06-19, 07:53Does this shed some more light on that black box? https://bugzilla.mozilla.org/show_bug.cgi?id=1876342
Assuming Firefox defaults to accepting known extension IDs in Chrome, I can see abuse being easy.
"Sales hates anything that can't be turned into a confident sentence." - anonymous warehouse worker
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite