Jump to content

lxk0JNg9Uu

Member
  • Posts

    12
  • Joined

  • Last visited

Everything posted by lxk0JNg9Uu

  1. Okay, I seem to have managed to get it working, could you see if the new update works for you - download from http://db.tt/mdQCdaT5 (you may have to type in your admin password, as I've had to switch to using sudo) Edit: disregard that, you'd have to type sudo purge into terminal to get it working, so I'll keep looking for a workaround
  2. Unfortunately, as far as I can tell, apple have disabled the `purge` command, which I was using to free the memory, in mavericks, as memory compression has taken priority to automatically free inactive memory / create more free memory
  3. Ooh, I'm getting -1 MB Purged as well as 0, I'll try to figure out what's broken tomorrow
  4. okay, as a last try, can you try typing "purge" into terminal, just to confirm that it has been installed. If it does do something, then things have become quite confusing as it should work, however if it doesn't, things are also confusing, as it mustn't have installed the purge command when you installed the command line utilities :/
  5. ah, sorry to hear that well, if it said "command not found", that shows Xcode isn't installed, so it should be safe to install the command line tools (from here [Option 1] rather than the link on that post)
  6. Any further details on how the installation went? Did it work and does the workflow work now?
  7. that's weird, it does work, so that isn't the problem. It looks exactly the same as mine, however I think I've figured out what it is. Just doing some reading, it seems that Xcode command line tools may be needed for the "purge" command to function, so I think you'll need to install the command line tools (sorry). As you are running Snow Leopard, there is no official direct download for the command line tools, and I don't particularly want to link you to an unofficial one which may not work (it's here anyway though if you want to try). Depending on your version of Snow Leopard (if it has the Mac App Store or not), you could download it from there, or use the aforementioned link that I don't particularly want to recommend as I haven't tried it, and don't want to muck up your mac if it doesn't work :/ P.S. It appears that apple are actually using the installer linked above now as the official one (https://medium.com/kr-projects/6e54e8c50dc8 (scroll down to the heading "Apple's Interest")) Apologies for the slight rambly nature as I have just been writing this and researching at the same time
  8. could you try opening terminal and typing "vm_stat", as this is the command used to find the inactive memory. I'm starting to wonder that it is not in snow leopard, and that is what is causing the problems
  9. okay, can you try redownloading from the same link in the first post (http://db.tt/mdQCdaT5), hopefully that will work now
  10. Sorry, I'm not a python programmer by trade, so I'm pretty stumped by this. I will try a complete refactoring late tomorrow (I'm not at home atm, so can't really do much on it). Hopefully it will be working within the next couple of days if you can wait
  11. I am honestly not sure, could you type "python --version" into terminal and post the results, it may be a python version difference, as the workflow was made on mountain lion.
  12. I made an alfred (v1) extension which I ported over to a workflow. It not only purges inactive memory, but also shows the amount purged, e.g. "1024 MB Purged". It's only requirement is python, which I'm pretty sure is pre-installed on macs, so there *should* be no issues in that respect. Important Note - If this workflow is not working for you: This workflow sometimes requires Xcode Command Line Tools to use the purge command. To download the tools, you can do one of the following (and only one as if you do more it can cause issues): Download Xcode from the Mac App Store and go to Preferences -> Downloads -> Components and download Command Line Tools Register for a free account at http://developer.apple.com and go to https://developer.apple.com/downloads/index.action, search for command line and download the latest version of Command Line Tools for your version of OS X If you are running OS X Snow Leopard, you can either do 1 or download the command line tools from https://github.com/downloads/kennethreitz/osx-gcc-installer/GCC-10.6.pkg, as Apple does not provide a version of Command Line Tools for OS X 10.6 on developer.apple.com You can download it at http://db.tt/mdQCdaT5 I would be really grateful for any feedback
×
×
  • Create New...