share packages
[email protected] ("Jose L. Hernandez")
| Newsgroups | perl.ithreads |
|---|---|
| Message-ID | <[email protected]> |
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