At 09:02 AM 7/31/02 +0200, Andreas Bourges wrote: >...I'm new on this list, but searched through the archive and found only one >reference regarding my problem. I just wanted to know, if there's already a >solution beeing implemented. > >Our application uses the Thread::Queue to transmit *a*lot*of*data* from one >thread to another. While the programm is running, it eats up memory on the >server-machine. this is directly related to the amount of data transmitted >through the queue... > >Any hints for solving this issue?
Are you sure that other threads are taking values off of the queue? And that the memory growth is not just caused by the growing of the queue by itself? I've run into this problem as well and am in the process of creating a throttled version of Thread::Conveyor, in which the "enqueue"ing will be blocked until sufficient elements have been "dequeue"d. Liz
