The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniWeb > OmniWeb General
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Feature request: free memory of unused workspaces Thread Tools Search this Thread Display Modes
I noticed that OmniWeb always starts up with a nice and low memory footprint. However once I've cycled through all tabs in all workspaces (that's what I usually do in the morning) memory usage increases depending on how many pages I have open across all workspaces.

The problem is that once the program has grabbed all that memory it never releases it again unless I close tabs (which is what I don't want, that's what the workspaces are for, aren't they?).

Why not allow it to automatically release memory for workspaces which haven't been in the foreground for a while? I would even sacrifice some runtime performance in allowing it to release memory as soon as I switch workspaces. That would make OmniWeb probably the leanest tabbed browser on earth.

Think about it!
 
If I remember correctly, we hang onto those pages in case you decide to switch back to the workspace, but after an hour (?) the memory gets released.
 
Quote:
Originally Posted by Brian View Post
If I remember correctly, we hang onto those pages in case you decide to switch back to the workspace, but after an hour (?) the memory gets released.
That's interesting. I need to check memory usage when I come back from my lunch break. My impression is that once I've got a memory usage of about 1.4 GB, it will never drop again.
 
Quote:
Originally Posted by mbert View Post
That's interesting. I need to check memory usage when I come back from my lunch break. My impression is that once I've got a memory usage of about 1.4 GB, it will never drop again.
OK, tried it. It was down from 1.4 GB to 800 MB. Maybe I wasn't away for an hour, so that some pieces have not been freed. Thus - it seems to work.

But I must admit, I find one hour a bit too long, in particular since I have so many tabs distributed over my workspaces. In an ideal world, I'd like to have this configurable, else a lower timeout, maybe 30min?
 
Quote:
Originally Posted by mbert View Post
But I must admit, I find one hour a bit too long, in particular since I have so many tabs distributed over my workspaces. In an ideal world, I'd like to have this configurable, else a lower timeout, maybe 30min?
Sure, you can do that! We've provided a WorkspaceExpireTime hidden preference setting (documented on the linked page along with many many other settings), which indicates how long (in seconds) a workspace can remain unused before its resources are reclaimed.

To set your workspaces to expire every 30 minutes, enter this command in a Terminal window and restart OmniWeb:

Code:
defaults write com.omnigroup.OmniWeb5 WorkspaceExpireTime 1800
Hope this helps!
 
There's no way to change those values for a running copy of OmniWeb, is there? Alternatively, being able to specify the WorkspacesExpire property on a workspace-by-workspace basis would be handy. Much of the need would evaporate if you'd just ship that 64-bit version, however :-)
 
Quote:
Originally Posted by Ken Case View Post
Hope this helps!
Thank you VERY MUCH! That's great!
 
I now have set the workspace expiry time to 5 minutes. That's perfect for the way I use the browser - in far the most cases when I switch workspaces I want a full reload of the workspace, that's why I have distributed my tabs over several workspaces in the first place. The browser has now a modest memory footprint for most of the time - about 600MB with more than 40 tabs overall, that's not bad!

Only one thing bothers me more than before - I have more crashes "out of nothing". That might indicate that the reason for these crashes has to do with freeing memory of unused workspaces. That might be a hint for bugfixing :)
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiding unused sections of the home screen december76 OmniFocus for iPhone 1 2012-07-11 01:14 PM
Feature Request: Add in feature to ignore or set time for sync reminder rwhitney OmniFocus 1 for Mac 3 2009-06-11 03:30 PM
Feature Request henderka OmniFocus Extras 1 2009-03-18 12:31 PM
Unused sub-contexts disappear Ward OmniFocus 1 for Mac 6 2007-12-17 06:19 PM
Workspaces and memory JulianAC OmniWeb General 4 2007-08-17 05:38 AM


All times are GMT -8. The time now is 06:36 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.