[Xmonad] Announce: xmobar-0.1 released!

Stefan O'Rear stefanor at cox.net
Sat Jun 23 11:09:23 EDT 2007

On Sat, Jun 23, 2007 at 04:22:17PM +0200, Andrea Rossato wrote:
> On Sat, Jun 23, 2007 at 04:13:02PM +1000, Donald Bruce Stewart wrote:
> > > I did extensive profiling: after reaching a given level, memory usage
> > > seems to stop increasing. But I need some feed back to understand if
> > 
> > That's interesting. Try setting a low bound on the heap size.
> I'm making some experiment with that, with varied result: under 1 Mega
> the program exited because of the limit, now I've been running with
> +RTS -M1M -RTS and it keeps on running with increasing memory usage
> (now 8124 (vir) 47808 (res) 2244 (shr)).
> I've also tried a very long profiling (I run it many hours till it
> ended up with 9 Mega or resident memory, according to top), and these
> are the reports:
> http://gorgias.mine.nu/xmobar/xmo.hp
> http://gorgias.mine.nu/xmobar/xmo.prof
> http://gorgias.mine.nu/xmobar/xmo.ps
> This last one makes me wonder: it seems to me that the report is
> wrong. According to heap profiling there are no memory leaks, am I
> right? Am I reading the report correctly?

According to heap profiling, yes, there are no heap leaks.  You might
still be leaking some other kind of memory...

> I remember I've read something about heap profiling not showing memory
> leaks related with FFI, there were a discussion in the haskell-cafe
> mailing list. I'll keep investigating.


More information about the Xmonad mailing list