Re: Web-browser memory consumption on OS2008

2008-04-16 Thread Eero Tamminen
Hi,

ext Tony Green wrote:
 Has anybody else noticed that the web browser seems to take an awful lot of 
 memory up on OS2008?
 
 Running top shows the browser process usually using more than 85% of 
 memory, 
 frequently well over 90%.
 
 Not that I've any idea what it used on OS2007, as I don't think I ever 
 looked. 
 But it seems rather excessive - any suggestions as to how to reduce the 
 footprint? As I'm using the browser to display  pages from the on-board 
 Apache server, built from the on-board MySQL database, I must be swapping an 
 awful lot...

Browser doesn't use all the memory that's virtually allocated to it.
A bit more realistic figure you get with:
pid=PID;
for type in Private_Dirty Private_Clean Shared_Dirty; do
   awk /$type/ {sum += \$2}
END { printf(\$type:\t%6d kB\n\, sum) }
 /proc/$pid/smaps;
done

Dirty is memory that has been written into i.e. it needs to be swapped
out if there's not enough memory (instead being just discarded and being
paged back from root file system if/when needed).


- Eero

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Web-browser memory consumption on OS2008

2008-04-15 Thread Tony Green
Has anybody else noticed that the web browser seems to take an awful lot of 
memory up on OS2008?

Running top shows the browser process usually using more than 85% of memory, 
frequently well over 90%.

Not that I've any idea what it used on OS2007, as I don't think I ever looked. 
But it seems rather excessive - any suggestions as to how to reduce the 
footprint? As I'm using the browser to display  pages from the on-board 
Apache server, built from the on-board MySQL database, I must be swapping an 
awful lot...
-- 
Tony Green
Ipswich, Suffolk, England
http://www.beermad.org.uk
http://no2id-ip.web-brewer.co.uk

** This message is digitally signed. If your email client is unable to read 
digital signatures, you may see an attachment that you cannot open. See 
http://www.gnupg.org/(en)/documentation/faqs.html for more information.
You can validate my PGP key from my website: http://www.beermad.org.uk/
* No Micro$oft products were used in the generation of this communication




signature.asc
Description: This is a digitally signed message part.
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Web-browser memory consumption on OS2008

2008-04-15 Thread Gary
This will hopefully change when the new gecko engine is ready for prime
time. Currently, it's a resource hog. I've noticed the same for Opera
and others on both Mac OS X and Linux. q.v.
http://preview.tinyurl.com/2b9ude

-Gary
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Web-browser memory consumption on OS2008

2008-04-15 Thread Erik Hovland
On Tue, Apr 15, 2008 at 06:42:42PM +0100, Tony Green wrote:
 Has anybody else noticed that the web browser seems to take an awful lot of 
 memory up on OS2008?

I've noticed it too. This gets especially worse with embedded flash,
like youtube and its ilk.

 Not that I've any idea what it used on OS2007, as I don't think I ever 
 looked. 
 But it seems rather excessive - any suggestions as to how to reduce the 
 footprint? As I'm using the browser to display  pages from the on-board 
 Apache server, built from the on-board MySQL database, I must be swapping an 
 awful lot...

Help should be on the way:
http://gizmodo.com/378045/mobile-firefox-is-six-times-faster-than-nokias-browser-on-the-n810

But you are on your own with the apache and mysql resource
requirements ;)

E

-- 
Erik Hovland
mail: [EMAIL PROTECTED]
web: http://hovland.org/
PGP/GPG public key available on request

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Web-browser memory consumption on OS2008

2008-04-15 Thread Tony Green
On Tuesday 15 Apr 2008, Erik Hovland wrote:
 On Tue, Apr 15, 2008 at 06:42:42PM +0100, Tony Green wrote:
  Has anybody else noticed that the web browser seems to take an awful lot
  of memory up on OS2008?

 I've noticed it too. This gets especially worse with embedded flash,
 like youtube and its ilk.

 Help should be on the way:
 http://gizmodo.com/378045/mobile-firefox-is-six-times-faster-than-nokias-br
owser-on-the-n810

Sadly not. I tried Fennec earlier today and unfortunately I found it an even 
bigger memory-hog than the current browser. In fact it actually managed to 
top 100%, which could have been entertaining without a swap-file.



-- 
Tony Green
Ipswich, Suffolk, England
http://www.beermad.org.uk
http://no2id-ip.web-brewer.co.uk

** This message is digitally signed. If your email client is unable to read 
digital signatures, you may see an attachment that you cannot open. See 
http://www.gnupg.org/(en)/documentation/faqs.html for more information.
You can validate my PGP key from my website: http://www.beermad.org.uk/
* No Micro$oft products were used in the generation of this communication


___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Web-browser memory consumption on OS2008

2008-04-15 Thread Gary
Have you tried using adblock plus for MicroB?
http://browser-extras.garage.maemo.org/news/5/
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Web-browser memory consumption on OS2008

2008-04-15 Thread Tony Green
On Tuesday 15 Apr 2008, Gary wrote:
 Have you tried using adblock plus for MicroB?
 http://browser-extras.garage.maemo.org/news/5/

Interesting to see that it exists (I was unaware) but I can't see how it would 
help unless there are ads on the page that can be blocked. I'm getting high 
memory use even on my own content, which obviously doesn't have anything I 
want to block...



-- 
Tony Green
Ipswich, Suffolk, England
http://www.beermad.org.uk
http://no2id-ip.web-brewer.co.uk

** This message is digitally signed. If your email client is unable to read 
digital signatures, you may see an attachment that you cannot open. See 
http://www.gnupg.org/(en)/documentation/faqs.html for more information.
You can validate my PGP key from my website: http://www.beermad.org.uk/
* No Micro$oft products were used in the generation of this communication




signature.asc
Description: This is a digitally signed message part.
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Web-browser memory consumption on OS2008

2008-04-15 Thread Mark
On Tue, Apr 15, 2008 at 12:56 PM, Tony Green [EMAIL PROTECTED] wrote:
  Sadly not. I tried Fennec earlier today and unfortunately I found it an even
  bigger memory-hog than the current browser. In fact it actually managed to
  top 100%, which could have been entertaining without a swap-file.


I just installed Fennec, and while it did hog resources on start-up,
it seemed fine after that. Except I couldn't enter any text to go to
sites other than Mozilla, because it wouldn't show me a menu (so I
could paste text) and wouldn't pop up the on-screen keyboard. I'll try
it again when I get where I can hook up a USB keyboard and see if that
will allow me to actually browse the Web, but it looks like it will be
useless on the N800 until they come out with the public version that
includes full functionality.

Mark
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Web-browser memory consumption on OS2008

2008-04-15 Thread Mark Somerville
On Tue, Apr 15, 2008 at 02:36:42PM -0600, Mark wrote:
 and wouldn't pop up the on-screen keyboard.

You should be able to press the middle button of the d-pad to get the
on-screen thumb keyboard up. At least, I can on my N800.

Mark


pgpR7ySYCVkau.pgp
Description: PGP signature
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Web-browser memory consumption on OS2008

2008-04-15 Thread Mark
On Tue, Apr 15, 2008 at 4:45 PM, Mark Somerville
[EMAIL PROTECTED] wrote:
 On Tue, Apr 15, 2008 at 02:36:42PM -0600, Mark wrote:
   and wouldn't pop up the on-screen keyboard.

  You should be able to press the middle button of the d-pad to get the
  on-screen thumb keyboard up. At least, I can on my N800.

  Mark

That's helpful (I had forgotten that trick), and does allow me to
*add* text to what's in the location bar, but it won't let me delete
what's already in there, so I'm still stuck. I think this alpha
release is targeted specifically for the N810 and assumes a hardware
keyboard, for which hopefully the backspace and delete keys will work.
I'll test that theory when I get home to my USB keyboard.

I'm really wishing I could afford a folding bluetooth keyboard right now...

Mark
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users