Author Topic: Compressed Memory  (Read 4186 times)

Randall75

  • Storm
  • *****
  • Posts: 1332
  • CWOP-CW6734 WeatherUnderground-KOHNEWAR6
    • CW6734
    • KOHNEWAR6
    • Randy's Weather On The Hill
  • Station Details: Davis Vantage Pro 2 Plus.iMac i5 OS High Sierra 10.13.6 8GB Ram, WeatherCat 3,Logitech 9000 Pro Web Cam
Compressed Memory
« on: July 10, 2015, 01:57:03 AM »
Hi Stu
 What is it with WeatherCat and compressed memory?
After 7 days 14 hours Activity Monitor shows Wc having 2.01 GBs of compressed memory.
The closest is Mail Web content with 168 MBs
I will keep a watch on it but when it gets this high
The Cat usually crashes when it get this big
What is the cause for this high compressed memory?
Am I running to much stuff within the Cat?


cheers


 [cheers1]

elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6686
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Try reducing custom gauges . . (Re: Compressed Memory)
« Reply #1 on: July 11, 2015, 12:03:21 AM »
Hi Randall and WeatherCat memory . . . .

What is it with WeatherCat and compressed memory?

I think I have a handle on at least one aspect of WeatherCat 2.x memory issues.  I temporarily relocated the file: WeatherCatCustomGauges.plist that you'll find in the following folder:

~/Library/WeatherCatData

Since doing that, WeatherCat is using less than 300 MB of RAM.  That suggests to me that OS X has some memory leaks in the Open GL graphics library that Stu uses to create the WeatherCat custom gauges. I have a dramatic before and after memory graph to post but it isn't clean enough to make a good comparison.  It will be tomorrow, so I'll post it then.

Try relocating the file noted above to some other location and see if that helps your version of WeatherCat use less memory.  You'll lose your custom gauges, but you'll get back back when you put the file back in its original folder.  If it turns out that is the problem, you might want to have fewer custom gauges at least until Apple fixes the memory leak.

Cheers, Edouard . . .

Bull Winkus

  • Storm
  • *****
  • Posts: 783
  • 2013 iMac 2 x 27", OS Ver. 10.15.7
    • EW0095
    • KARHORSE2
    • WU for Horseshoe Bend, Arkansas
  • Station Details: Davis Wireless Vantage Pro 2, iMac 2 x 27"
Re: Compressed Memory
« Reply #2 on: July 11, 2015, 12:47:27 AM »
Quote
I have a dramatic before and after memory graph to post but it isn't clean enough to make a good comparison.  It will be tomorrow, so I'll post it then.

Try the dishwasher. It'll clean anything, and fast too!

 [tup]
Herb

Randall75

  • Storm
  • *****
  • Posts: 1332
  • CWOP-CW6734 WeatherUnderground-KOHNEWAR6
    • CW6734
    • KOHNEWAR6
    • Randy's Weather On The Hill
  • Station Details: Davis Vantage Pro 2 Plus.iMac i5 OS High Sierra 10.13.6 8GB Ram, WeatherCat 3,Logitech 9000 Pro Web Cam
Re: Compressed Memory
« Reply #3 on: July 12, 2015, 12:18:19 PM »
Hi Edouard and Stu
 Ok Edouard got rid of the Custom Gauges plist as you stated
 Restarted the computer which restarted the cat
The memory use was 377 MB at first start
But with in minutes it had already jumped to 412 MB
So what is causing the rapid increase in memory


Made it 9 days 17 hours before the Cat quit again with 361767 good data


So what else can I do to keep the Cat running along than 9 days


cheers


 [cheers1]

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2987
    • CW9739
    • IIBSTO2
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, extra temp stations, no U.V. WeatherLinkLive.
Re: Compressed Memory
« Reply #4 on: July 12, 2015, 12:58:13 PM »
That jump on startup isn't unusual - as things run for the first time (custom web for example), it'll use more memory. As Edouard notes, see how it goes with the gauges off -  if it's OK with them off, try it with less gauges.