You are here

Why the luanchers comsume large amount memory (30+ MB) even for tiny softwares ?

7 posts / 0 new
Last post
Heepo
Offline
Last seen: 12 years 5 months ago
Joined: 2011-11-02 18:36
Why the luanchers comsume large amount memory (30+ MB) even for tiny softwares ?

Here is example....

http://www.flickr.com/photos/87336127@N03/7998244260/in/photostream

While SumatraPDF uses only 3.8 MB for itself,
the launcher wastes 36 MB.

John T. Haller
John T. Haller's picture
Offline
Last seen: 9 hours 12 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not Really Using

It's not really using it, it's just allocated. All the newer launchers (including all the launchers using the PortableApps.com Launcher recommended for all new releases) automatically deallocate memory they're not actively using. Most shrink to a bit over 1MB while they are waiting for an app to complete. Sumatra PDF is using an older custom launcher and hasn't been updated yet, which is why it will use a bit more. It only uses 4MB on my system. And IOBitUninstallerPortable.exe (which uses PortableApps.com Launcher) only uses 875k on my system. Granted, I'm using Task Manager built into Windows. Not sure how Process Hacker calculates Private Bytes, but it's not the same way. It will likely be updated in the coming months for efficiency of operation and easier maintainability.

Sometimes, the impossible can become possible, if you're awesome!

Heepo
Offline
Last seen: 12 years 5 months ago
Joined: 2011-11-02 18:36
What you really means "just allocated" ?

Okey you're right, I just checked with my task manager and it shows much less memory using, usually 6-10 MB on my PC (WinXP Media Center).

But what you really means "just allocated"? What if the (old)launcher allocates all my 2.0 GB RAM? As I know, allocation means to reserve some memory for some specific tasks or programs, thus it reduces my available memory.

Anyway, thanks for the quick reply.

John T. Haller
John T. Haller's picture
Offline
Last seen: 9 hours 12 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Allocated

The language we write the installers in allocates a certain amount of memory by default (the amount you currently see in the older launchers, no more). Our newer launchers are coded to give it back when they don't need it. That's why they often run under 1MB while waiting around. The older ones aren't going to go above where they are now and will shrink as we upgrade them.

Sometimes, the impossible can become possible, if you're awesome!

Heepo
Offline
Last seen: 12 years 5 months ago
Joined: 2011-11-02 18:36
Possible ? If I put (by myself) native-portable softwares into

I've known from the topic https://portableapps.com/node/34500#comment-198720 that old-version launcher allocates a certain amount of memory, which lower available memory, even for a tiny target program.

So, what if I put native-portable software, like CPU-Z, Z-zip, FooBar, to be opened from PortableApps platform. Will this works, and how to do this?

[comment moved in topic by mod JTH]

John T. Haller
John T. Haller's picture
Offline
Last seen: 9 hours 12 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Yes and No

Yes, you can use any app you want with the PA.c Platform:
https://portableapps.com/support/portable_apps_suite#addingotherapps

No, not all those apps are portable (7-Zip for instance).

Realistically, you're worrying more than you need to about this. Even a machine with only 2GB of memory, this isn't an issue. Especially since even if memory filled up, most of the memory used by launchers can be swapped to disk with no affect on performance.

Sometimes, the impossible can become possible, if you're awesome!

Heepo
Offline
Last seen: 12 years 5 months ago
Joined: 2011-11-02 18:36
It works

OK, it works. Thanks for the useful information.

Log in or register to post comments