[plt-scheme] threads, memory leakage?

From: Hans Oesterholt-Dijkema (hdnews at gawab.com)
Date: Mon Sep 25 08:17:33 EDT 2006

>As for the memory usage, 114MB isn't that much. 

At the end of the evening it was up to 165MB. It just increases
about 2MB per test run. It isn't that the server side is very
busy or so. And you know, I'm developing for people with
256MB machines. For those machines, 160MB is much.
Having GC working on swapped out memory isn't very nice
I've heard.

Btw. I don't know if the sqlid drivers I'm using in the server side
backend will work that well with 3m, although that may be
quite easily to fix. I'm pretty sure though, that the mzgtk2 binding
to Gtk+ (v2) that I'm using on the client side will not be usable with
m3 at the moment, without a lot of work involved.

What's more: I don't see increasing memory that much for
mzgtk2 applications. What would you advice in this context?


Op 25/9/2006 schreef "Noel Welsh" <noelwelsh at yahoo.com>:

>Try 3m, if you aren't using it already.  Not only is it
>faster (most of the time) but the GC is precise.  The Boehm
>GC will leak over time.
>As for the memory usage, 114MB isn't that much.  Our
>web-server instances settle around 300MB.  I wouldn't only
>be worried if it doesn't hit a steady state, so I would
>keep  running tests until either memory usage settles down,
>or you run out of memory.  Only if the later happens do you
>have a leak.  (Alternatively you can insert calls to
>collect-garbage and see what happens).
>--- Hans Oesterholt-Dijkema <hdnews at gawab.com> wrote:
>> Dear All,
>> I'm running mzscheme 350.2 on my windows box.
>> I've got a threading Object Database Server (persistent
>> roos) running, listening on TCP 4001. I see memory usage
>> increase with each test run of my client program. I[m now
>> at client 62 (i.e. 62end thread) and memory usage has
>> increased
>> from a little 22MB to 114MB now.
>> Are there any reports on memory leakage using TCP +
>> threads
>> in mzscheme currently?
>> Thanks in advance for your answers,
>> --Hans
>> _________________________________________________
>>   For list-related administrative tasks:
>>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>Email: noelwelsh <at> yahoo <dot> com   noel <at> untyped <dot> com
>AIM: noelhwelsh
>Blogs: http://monospaced.blogspot.com/  http://www.untyped.com/untyping/
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Posted on the users mailing list.