Try Elizabeth M's forks package. It's designed as a drop-in replacement for
threads, and has better memory usage in a lot of cases.

3:28pm, Jose L. Hernandez wrote:

> Hi,
>
> I'm working on a server application based on the boss-worker threads model.
> My problem is that the worker threads use a lot of packages, and the memory
> usage is too high.
> Is it possible to share the memory used by the modules? I don't understand
> why it is getting cloned for every thread I start.
>
> Something like  "use MyPackage : shared; " would be nice...
>
> Thanks
>
>
>

----------------------------------------------------------
Reporter: "What do you think will be the biggest problem
          in computing in the 90's?"
Paul Boutin: "There are only 17,000 three-letter acronyms."
----------------------------------------------------------

Reply via email to