Previous 1 2 Next 15 Replies Latest reply: Oct 12, 2012 11:09 AM by iamsudo
iamsudo Level 1 Level 1

Why is Safari history limited to 100000 items although set to be removed manually? Is it a bug?

This happens in Safari 6.0.1 (8536.26.14) and OS X 10.8.2 but also happened in 10.7 — but it didn’t AFAIR prior to 10.5.


MacBook Air, OS X Mountain Lion (10.8.2)
  • Klaus1 Level 8 Level 8

    What is your point?

     

    Who in their right minds would want to keep a record of 100,000 URLs!

  • iamsudo Level 1 Level 1

    Klaus1, you could deduce from my post that I intend to keep all web history.

  • Klaus1 Level 8 Level 8

    iamsudo wrote:

     

    Klaus1, you could deduce from my post that I intend to keep all web history.

    I did.

     

    I am unaware of any particular limitation of the History file (the question has never been raised before) and I would love to know where you read this.

     

    But if it has I know of no way to circumvent it.

  • iamsudo Level 1 Level 1

    I read about this nowhere. I just noticed web history shrinking and observed that if I opened History.plist in Xcode when Safari was not running I had 100000 items, but this incremented if I opened this file when the browser was running by the number of sites visited in that session, dropping to 100000 after quitting Safari.

  • Alley_Cat Level 6 Level 6

    iamsudo wrote:

     

    Klaus1, you could deduce from my post that I intend to keep all web history

    Yours or are you monitoring others?

  • iamsudo Level 1 Level 1

    Alley_Cat, just mine.

    I find it quite handy. 100000 are roughly 3/4 years for me. The more I surf the shorter in time the history Safari keeps.

  • Klaus1 Level 8 Level 8

    I have done a bit of digging and contributor LeonieDF has come up with this:

     

    How about this:

    http://www.tuaw.com/2008/09/04/terminal-tips-change-safaris-history-limit/

     

    Limit to number of items:

    defaults write com.apple.Safari WebKitHistoryItemLimit 2000

    Limit to number of days:

    defaults write com.apple.Safari WebKitHistoryAgeInDaysLimit 30

    It has been tested and does not balk at 200,000.

     

    So you could try setting it at 1,000,000! Post back in a few years to tell us if it worked!

  • ~Bee Level 7 Level 7
    expertise.macosx
    Mac OS X

    Why in the world anyone would want to have keep a history list that long, is a mystery to me.

    Yikes!

     

    I clear mine every day.  One's I want to keep, I bookmark temporariy.

  • iamsudo Level 1 Level 1

    Klaus1, these were my settings prior to your last post

     

    defaults read com.apple.Safari WebKitHistoryItemLimit

    99999999

     

    defaults read com.apple.Safari HistoryAgeInDaysLimit

    365000

     

    defaults read com.apple.Safari WebKitHistoryAgeInDaysLimit

    2012-10-12 15:17:45.530 defaults[97624:707]

    The domain/default pair of (/Users/me/Library/Preferences/com.apple.Safari, WebKitHistoryAgeInDaysLimit) does not exist

     

    The HistoryAgeInDaysLimit key comes AFAIR from http://secrets.blacktree.com/edit?id=4964

     

    Although I added the following key as per your post and linked article, Safari keeps its limit to 100000 items

     

    defaults write com.apple.Safari WebKitHistoryAgeInDaysLimit 365000

    defaults read com.apple.Safari WebKitHistoryAgeInDaysLimit

    365000

     

    Now, I have two questions

    1. How can I know if Safari’s actually processing the value of the key?

    2. Which values did contributor LeonieDF set for both keys?

  • Klaus1 Level 8 Level 8

    1. No idea!

     

    2. Shown in the post I quoted. But I see you have set yours to 1000 years. Should keep you going!

  • iamsudo Level 1 Level 1

    Klaus1, I tried writing different values in the mentioned keys — btw type integer — but always with same result, never exceding 100000 items.

     

    For me, the problem is still unsolved.

     

    Can you check with LeonieDF, which versions of Safari and OS X did he test it with?

  • Klaus1 Level 8 Level 8

    For me, the problem is still unsolved.

    Your problem is that you want 1000 years of surfing history. I doubt if anyone else does.

     

    This matter is simply not worth pursuing here.

  • iamsudo Level 1 Level 1

    No need to be sarcastic. If I write 3650 days or 200000 items, it doesn't work either.

    I intend to keep the history for as long as I can get.

    It'd be nice to know which versions LeonieDF tested with.

  • ~Bee Level 7 Level 7
    expertise.macosx
    Mac OS X

    sudo --

     

    We're all just individual volunteers here . . . other Mac users helping to share solutions.  We're not staff.   You should be aware that keeping a really long history list can really jam up Safari.  Same for not emptying the cache.

     

    All the best.

Previous 1 2 Next