Previous 1 58 59 60 61 62 Next 957 Replies Latest reply: Dec 1, 2013 1:28 PM by Jonathan Payne1 Go to original post
  • david koff Level 1 (5 points)



    you're correct on all counts. only my initial attempts weren't because i was confusing java and javascript: i just wanted to shut off anything that wasn't essential.


    but yes, turning javascript back on does NOT cuase the memory leakage to occur again. it's just java. please post if this fix works for all ya'll. i'm curious to hear if it does.


    and for the sake of solid accounting, i'm running:


    OSX 10.7.2 and beyond (we may or may not be in the dev program)

    Mac Pro tower

    8BG RAM

    Java SE6 r41


    much obliged if each of you who post would also specify your java version as well...



  • david koff Level 1 (5 points)


  • codefish46 Level 1 (0 points)

    Mon 4 March 2013: 3 55 pm


    Thanks for your post, David.


    @all, if you need to figure out which version you are running, open Terminal (found in Applications/Utilities) and type the following:


    java -version


    It'll return the version like this:


    java version "1.6.0_41"


    It's really a good idea not to be allowing Java to run in your browser at the moment as there have been several security issues. I've not heard any updates for a week or two, so maybe that's been cleared up, but either do your homework to be sure, or turn it off in Safari.


    That said, there was just a JVM (Java Virtual Machine) update a day or two ago.


    Following David's advice and posting your results will contribute to this thread and to those attempting to address memory problems in Lion and/or Mt. Lion.


    codefish out.

  • AppleTV Fan Level 1 (5 points)

    When visiting this website:, I have uncovered a memory problem in Safari, version 6.02.  Visiting this site with Javascript enabled results in run-away memory usage.  Visiting with Javascript disabled avoids the problem.  Visiting with Chrome leads to the same results.  Visiting with Firefox does NOT lead to a memory problem. 


    Turning Java on or off has no effect.


    Seems like Safari and Chrome do not catch a runaway Javascript efficiently.  Very annoying. Apparently Firefox is the way to go.

  • David M Brewer Level 6 (9,350 points)

    I notice that the CPU usage goes up on that page too. Could it be bad javascript that has been poorly written ?

  • JeepRuby101 Level 1 (10 points)

    JavaScript and Chrome aren't an issue for me. My issue comes from the DAVSafari (I think that's what it was called).  Also, when I open safari and bookmark, my computer instantly locks down.


    The thing is, I've been using chrome. Yet, every day when I get home from work at 3:30, the safari program consumes 12+GB of data.


    This is absurd. Why hasn't apple addressed and fixed this issue yet?  I'm sure enough people have called, complained here or reported it through the crash status.

  • codefish46 Level 1 (0 points)

    I tried to recreate your situation.


    CPU percentage goes way up, eventually exceeding 100%, fans come on. active memory begins steadily increasing.


    All this per Activity Monitor readout.


    Closing the page drops the CPU percentage back to normal range, but active memory remains at the level it achieved before closing the page.


    Quitting Safari causes the active memory level to immediately drop back to a more normal range.

  • boosth Level 1 (0 points)

    In my case I have found that memory is consumed and not returned. A simple test from startup with no swap space consumed shows my browser consuming 1GB of memory with 800MB of swap. When I quit the browser I see approx 500 MB of memory returned to the system and 356 MB of swap space is not freed. If I run the browser for a couple of hours under normal usage I see over 3GB of swap space consumed and my system becomes increasingly sluggish. When I quit the browser I see around 2GB of swap is retained. Clearly OSX is not freeing up swap space correctly.


    Seperately it would be nice to have a config option to release paged memeory if not used for a certain period of time. For example 24 hours would wrk well on my system.

  • Jonathan Payne1 Level 1 (40 points)

    Swap is funny. If your Safari is using 1Gb of RAM and that causes 1Gb of swap space to be created, killing safari will not free up the swap space UNLESS part of Safari was swaped out itself. Swap is where the little used memory from ALL running programs goes, to make room for memory of the running parts of programs. So, that swap space will likely stay high in use because of all the running programs that are not accessing that memory are still running and still not accessing that memory.


    The main thing here is (1) safari tends to use up a lot of memory, like many browsers, especially on serious JS-based websites (e.g., iCloud, which feels like real applications, is running tons of JS); and (2) some browsers do a really good job of freeing up memory when you close the window, e.g, Chrome and maybe firefox, but definitely NOT safari.


    So you have to quit safari on a regular basis if you happen to go to websites that consume a lot of RAM, OR, you need to switch to Chrome and then all you need to do is close your window from time to time.


    This all completely ***** but is not specific to Lion in my opinion. The main thing Lion brought is some sort of new memory system configuration which causes stuff to be swapped out when you're doing things like examining the file system. I am too tired to explain what I mean, but the end result is Lion swaps a lot more than anything before it. This doesn't actually matter if you have an SSD instead of a HDD. HDD's are super slow in comparison to SSDs and this new memory strategy seems to have been created with the SSD in mind.

  • Bobdc6 Level 1 (0 points)

    My 2007 MacBook with SSD froze up two days ago at 1.5g Safari Web Content usage.  I had to do a crash shutdown because nothing would work.  This hasn't happened before or since, don't know why.


    Safari Version 6.0.3 (7536.28.10)


    IOS 10.7.5


    4G ram

  • bellicose100xp Level 1 (0 points)

    So I finally upgraded to a 512 GB Crucial SSD and voila the beachball is gone. The free memory still tends to fill up but I noticed that if launch an application at that point, the inactive memory quickly frees up (possiblly because of extreme speed of SSD). Also when I purge, it happens instantly unlike before when it would take forever to complete. So I am assuming the problem is still there but doesn't really matter in practical terms since the SSD speed takes care of any lag.

  • kevinkendall Level 1 (115 points)

    The likely cause, Bobdc6, is that your 4GB of RAM was pretty well full up with not just the 1.5GB of browser stuff but of course critical OS stuff & other stuff as well, plus your HD was likely pretty well full up, too.

    When RAM gets full up, the OS does intensive virtual RAM stuff (i.e., swap files). But if both your system RAM & your HD are too full up for even the OS itself to function efficiently, much less a browser, then just about everything you run beach balls for a long time & if the cause of that is not rectified, the OS just quits working, a lot of times. Got to give the OS breathing room!  8GB is best but at least, bare minimum, 6GB, especially when you have only 4GB of RAM, about 2GB of which gets sucked up by the OS itself.


    My suggestion is first, max out your MB's RAM. The 2007 can use anywhere from 4GB to 6GB max, depending on the 2007 MB model. You can go here --> to find out what your particular 2007 model's max RAM capability is.


    And of course, if you're short on HD space, clean up. A good util to do that with, for starters, is Monolingual. And you can also wipe out everything in your OS's printers folder, stuff that comes stock with the OS, and then plug in whatever printer you do use so that OS-X will sense its presence & download the appropriate drivers for that printer and only that printer via Software Update. BIG HD space recovery doing that. Or clean out the Printers folder & then run your printer's drivers/SW installer to get the drivers plus the extra goodies that your printer's manufacturer offers for that printer, if you want that extra stuff.


    Good luck....


  • kevinkendall Level 1 (115 points)

    I've had a 256GB Crucial SSD for a year & a half now & man oh man, just like my switch back to Mac 5 years ago after an 18-year foray into The Dark Side of Windoze & Microsoft, I'll never go back to a spinning-disk HDD. My SSD is faster than any HDD I've ever had, and it's really nice to not have to worry about an HDD's read-write heads bouncing on a platter & screwing up saved memory, or possibly toasting the whole HDD itself. I've got a line on a Samsung 512GB SSD right now for only $350 NIB, & I might buy that today but definitely, within the next week. Really looking forward to having double the space, and it being an SSD, too.  kk

  • Level 1 (0 points)

    Help sought from anyone!!!

    My iMac has suddenly developed the memory drain. I have an i5 3.1 ghz mid 2011 model running 10.7.5 with 20gb ram installed.

    The memory drains to virtually zero then shows up as partially inactive on the Memory Clean app. I release the memory with the app and it slowly drains again.

    The only recent change to my set up is to format a new buffalo 2tb drive. This is currently disconnected though as I don't need it just yet.

    Reading the threads I am at a loss as how to fix.

    Any advice most welcome.

  • Jason Goodell1 Level 1 (35 points)

    Same problem here a 5,1 MBP with 4GB of RAM running 10.8.2 would slow to a crawl and sometimes freeze up and crash. The cure was removing the npgtpo3dautoplugin.plugin via the command line with a trusty 'sudo rm -rf', please don't try this at home folks. Now my fans have stopped screaming and my lap isn't burning up just surfing the web.

Previous 1 58 59 60 61 62 Next