delete /Library/Frameworks

Discussion in 'Mac Programming' started by EssentialParado, Jul 5, 2007.

  1. macrumors 65816

    Joined:
    Feb 17, 2005
    #1
    I had Xcode installed and X11, but now I've removed them. How big should my /Library/Frameworks folder be for non-coder use? It's 302MB, which seems a bit big?

    And is it safe to delete everything from the /Library/PrivateFrameworks folder?

    Anything else that needs deleting after removing XCode?

    //edit: changed question slightly
     
  2. Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #2
    /Library/Frameworks may have some things in it from something other than XCode... Application Enhancer (APE), DivX, Stuffit, and some others install things there. So if you delete, you might want to do a hand-search first. My PrivateFrameworks is empty without XCode.
     
  3. thread starter macrumors 65816

    Joined:
    Feb 17, 2005
    #3
    Thanks for the info.

    Is it fine to delete everything in /Library/Logs ? It's 5GB.
     
  4. macrumors 68040

    MongoTheGeek

    Joined:
    Sep 13, 2003
    Location:
    Its not so much where you are as when you are.
    #4
    Logs should always be okay to delete (unless they are actively being written to)
     
  5. macrumors 68040

    plinden

    Joined:
    Apr 8, 2004
    #5
    It'll be safe to delete any numbered log - e.g. DirectoryService.server.log.1, but leave the unnumbered ones, eg. DirectoryService.server.log

    What logs take up to 5GB? I would be concerned about whatever's logging that much. My /Library/Logs is 800kB (yes, "kilobytes", that's not a typo).
     
  6. thread starter macrumors 65816

    Joined:
    Feb 17, 2005
    #6
    Thanks! I used onyx to clear them safely; back down to 53kb.

    I have no idea how it reached 5GB. If I notice it again I'll look at where the bulk is coming from and post back. The virtual memory isn't stored in the Logs folder by any chance?
     
  7. macrumors 68040

    plinden

    Joined:
    Apr 8, 2004
    #7
    No - /private/var/vm
     
  8. Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #8
    Try using the (EDIT) du comand to help. Sometimes windowserver.log can balloon out of control, although that log is in /var/log. It's strange for /library/logs to be getting that full.
     
  9. macrumors 68040

    plinden

    Joined:
    Apr 8, 2004
    #9
    I think you mean du (e.g. "du -h -d 1") - dd is for copying and formatting.
     
  10. Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #10
    Oops, sorry, yes. :eek: Not at a mac right now!
     
  11. thread starter macrumors 65816

    Joined:
    Feb 17, 2005
    #11
    Sounds like a possible problem of mine! Next time I run out of memory I'll check it, thanks for the link.


    Ahh, good to know. :)

    My memory always runs out. I'll delete this folder now…











    (just kidding!!! : P)
     
  12. Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #12
    FWIW, my iBook /library/logs is about 780k. :) My ipfw.log is, on the other hand, 126MB! :eek: What the faux? :( It has lines like this, over and over and over again.

    Code:
    Feb 15 08:45:56 MK-iBook-G4 ipfw:  35000 Deny UDP 0.0.0.0:68 255.255.255.255:67 in via en1
     

Share This Page