Lloyd Bryant wrote:
> >How much memory can Gtk-Gnutella use? It prints this on startup. There's
> >also a property which holds the value.
 
> It *doesn't* print on startup anymore (at least on my machine).  I know it 
> *used* to.

I just see one of the debug settings has be larger than zero, otherwise it's
not printed.

> "print sys_physmem" from the shell reports 256056

That's in KiB, so gtk-gnutella clearly cannot use more than 256 MiB even if
you had all the swap in the world. With your settings you might come close
to this after a while. In any case it would be useful to know whether it
really runs of out memory or whether it's rather running of page table entries.

> Right now (up for 2h 16m), I have 44 of 50 ultras connected, and 94 of 150 
> leaves.  "free" reports 103Mb free (after subtracting buffers/cache), and 
> "top" reports GtkG using 131m virt, 78m res, 3665 shr.
 
> I have a cron job running to capture these numbers every 5 minutes, so I 
> should be able to produce a good map of how memory usage increases over 
> time.  I don't know if this will resolve the issue, but at least if it 
> crashes again I'll be able to tell if it was a sudden gain, or a slow 
> increase over time.

We can actually measure these values also internally. It would be good if
we adjusted certain settings when we see that we're running out of memory.
Albeit I wouldn't really like to fiddle with persistent settings.

-- 
Christian

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to