








(16)
Your rating: Now say why...






(16)


| Downloads:7,232 |
| Version Downloads:1,535 |
| Type:Utilities : Optimizers |
| License:Free |
| Date:17 Mar 2012 |
| Platform:Intel |
| Price:Free |
Overall (Version 1.x):![]() ![]() ![]() ![]() ![]() |
Features:![]() ![]() ![]() ![]() ![]() |
Ease of Use:![]() ![]() ![]() ![]() ![]() |
Value:![]() ![]() ![]() ![]() ![]() |
Stability:![]() ![]() ![]() ![]() ![]() |
-1
+2
Completely failed memory management in Mac OSuX
"...OS X has a feature called inactive memory. This is memory that was recently used by an app you closed and can be quickly made to active memory if you resume to use that app. A nice concept, that fails miserably. OS X's documentation says, that this memory may be freed at any moment. However in practice, it just keeps on accumulating until you run out of free memory. In this case a sane option for the OS would be freeing the inactive memory. Instead the OS X decides to swap the inactive memory on the disk. So when running out of free memory and having a 1.5 gigabytes of inactive memory left, your OS starts paging the unused inactive memory to disk instead of freeing it for applications to use. Not only this causes your computer to slow down, it also is counter-intuitive in the terms of the original idea of inactive memory: when it's on disk, it definitely is not made active quickly.
"I managed to find out that this memory can be freed with combination of XCode's purge-command and repairing disk permissions. First usually freed around 200MB of memory while latter freed almost every bit of inactive memory. Eventually this became a daily routine. When arriving to work the first thing was to hit repair disk permissions button and do something else than actually use the computer for the next five to ten minutes. Sigh...."
http://dywypi.org/2012/02/back-on-linux.html
+266
+2
+266
Are you sure. I manage about 8 Mac Pros and several laptops in our lab, we run computational models of neural circuits, extensive data analysis in Matlab, generate scientific graphs in CS5, and run Parallels for some legacy software and have never seen lots of free/inactive memory yet lots of paging out. I see exaclty what I'd expect, and given the long history of hoax memory optimisers, FreeMemory is certainly no different in conception.
+2
+266
"Pages of memory are either Free (available to allocate), Active (in use), or Inactive. Inactive pages of memory are either dirty or clean, depending on if it has been selected for removal yet or not. An inactive, dirty page is no longer in use, but is not yet available for re-use. The operating system must scan for dirty pages, and decide to deallocate them. After they have been guaranteed sync'd to disk, an inactive page my be “clean,” or ready for re-use."
http://www.linuxplanet.com/linuxplanet/print/6593
IF the inactive page is dirty, sync it to disk. Then free it.
And OS X:
"In Mac OS X, if an inactive page contains data that has not been written to the backing store recently, its contents must be paged out to disk before it can be placed on the free list. "
https://developer.apple.com/library/mac/#documentation/Performance/Conceptual/ManagingMemory/Articles/AboutMemory.html#//apple_ref/doc/uid/20001880-99406-TPXREF103
IF the inactive page is dirty, page it to disk. Then free it.
Countless highly trained computer science engineers have built the virtual memory system across multiple OSes in this way. Do you really think a single line command or some two-bit app developer[1] somehow can do something the most highly skilled (and in Apples case probably richly paid) CS engineers have failed to understand for years? Again, read The Memory Optimization Hoax by sysinternal engineer Mark Russinovitch (Windows VM is largely similar).
You probably have something seriously wrong with your software somewhere, it certainly isn't OS X / Linux VM memory subsystem, and I still doubt placebo purging is really helping.
----
[1] I contacted Rocky Sand some time ago and they told me they would put some reference to the criticisms of their software and a discussion of both sides of the memory optimisation debate on their page. They never did, their vaguely worded FAQ is useless. That smacks of hoax two bit software to me.
+27
+3
+9
wanarek reviewed on 17 Mar 2012
+5
+15
Chris Habig reviewed on 29 Jan 2012
+10
+14
Xente reviewed on 17 Jan 2012
+7
+26
OsloX reviewed on 17 Dec 2011
These mem free apps are useless for OSX.
+6
-6
+3
+29
JCH2 reviewed on 02 Dec 2011
And one does not need terminal commands either.
Get "Purge" and simply drag it to your dock. Click, and it does the same thing as this app or the terminal nonsense. That is, if you really need to do such a thing.
+1
+143
It does come in handy at times.
-5
-5
Accel reviewed on 28 Nov 2011
+7
+9
S. Brozius reviewed on 23 Nov 2011
+1
+52
1) Open a Terminal window.
2) Type on the command line:
purge
... where means hit the Return key.
3) When the purge process is finished, close the Terminal app.
You're done.
If you'd like to learn more about purge, at the command line type:
man purge
For my ease-of-use, I created an automator script to run purge for me then close Terminal. I then set up a keystroke to activate it. (Add it in System Preferences:Keyboard:Keyboard Shorcuts).
+1
+52
1) Open a Terminal window.
2) Type on the command line:
purge [R]
... where [R] means hit the Return key.
3) When the purge process is finished, close the Terminal app.
You're done.
+16
ProductName: Mac OS X
ProductVersion: 10.6.8
BuildVersion: 10K549
$ man purge
No manual entry for purge
$ type -a purge
-bash: type: purge: not found
+8
-1
+16
+1
+51
"Purge can be used to approximate initial boot conditions with a cold disk buffer cache for performance analysis. It does not affect anonymous memory that has been allocated through malloc, vm_allocate, etc."
End users do not need (and should not screw around with) "purge", not even the ones who think they're "advanced" users, and _nobody_ needs FreeMemory. Apple and Mac OS X handle the complexities of memory management (such as ASLR) far more effectively than some random amateur developer who is still thinking in Mac OS 9 terms.
-1
+1
VictorPrijker reviewed on 13 Nov 2011
If you have at least 4 Gb RAM it's by far the best solution.
I turned mine off about a year ago, never had any trouble with it, and all these slow page file writes to disk are gone.
-1
+102
+2
+5
But disabling VM can cause issues in some cases even if you have 4GB RAM. Try doing it and running A TON of apps at once - if you never ever get a freeze (forcing a hard reset) then I'd say you are lucky.
For some just clearing out the swap files periodically, which Cocktail does, might just be sufficient. Depends.
-1
+449
+1
+51
+1
+51
Playing make-believe that page files indicate a problem or are undesirable - or a performance/resource impact for that matter - is just plain stupid and ignorant.
It's been a decade - move beyond Mac OS 9.
+5
But like I said trying to run without vm is, at best... dicey. Again, for clarity, quite possible to run apps without vm - as I have done it, we could all do it (and run far more than one app too) but in reality you would have to have something like Menumeters displaying constantly so you can *constantly monitor the memory levels because as soon as it's about to get to the limit, you literally will have seconds to immediately force quit a hogging app before it freezes irreversibly and you'll have to hard force reset!
+449
> A situation that has happened to me a few times is where the swap file creation gets completely out of control and takes up your entire hard drive. In that odd circumstance deleting the files, either manually, or via, say the feature in Cocktail, will obviously help.
I've never wanted to risk trouble by manually deleting swapfiles that might still be in use on a running system while the dynamic_pager daemon is responsible for automatically managing them. I prefer some inconvenience of a system restart after "too many" swapfiles exist, for whatever reason, to reliably/safely get rid of them. And I couldn't trust system stability after the few cases of abnormal runaway swapfile creation I've had until restarting.
+10
MetroMrX rated on 03 Mar 2012
+2
Fabio Milocco rated on 01 Mar 2012
+544
Negritude rated on 30 Jan 2012
+71
Nicolasd rated on 29 Jan 2012
+82
Masterminter rated on 29 Jan 2012
+544
Negritude rated on 17 Jan 2012
+2
Fabio Milocco rated on 15 Dec 2011
+51
Arvidtp rated on 03 Dec 2011
-2
22KP rated on 23 Nov 2011
+43
Li7ard rated on 22 Nov 2011