perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans de Groot <>
Subject Re: memory usage
Date Fri, 19 Dec 2003 12:44:21 GMT

I am using 1.3.6. and apache 1.3.27

Wel it keeps getting bigger with one page. When I reload it or click through it
it keeps growing.

To ask a beginners question:

if I make a silly script like this:
open F,"</tmp/largetextfile.txt";
while ($data =~ s/image.jpg/$counter.jpg/)

Do I need to empty the vars used or if every thing works okay this should not
cause my apache process to grow all the time? (if this is the only page in the

Than an other question
I installed embperl a while ago, with storable and apache session and made the
session database.

What is the properway to cleanup the session database? Right now I just delete
the content of the session table but this also deletes the sessions of the
current users, which is a it rude.


Hans de Groot

Met vriendelijke groet,

Hans de Groot

Quoting Gerald Richter <>:

> >
> > I do have one problem. My apache processes take a lot of memory.
> > Every request of a page it grows in size.
> mod_perl httpd takes a lot of memory, that can't be changed. Every new
> request will eat up more memory, because Perl code is compiled. If you
> request only one page more than once memory useage should stay the same,
> that's how you can test if any of your code has a memory leak.
> BTW Which Embperl version do you are using?
> Gerald
> --------------------------------------------------------------
> Gerald Richter     ecos electronic communication services gmbh
> IT-Securitylösungen * dynamische Webapplikationen * Consulting
> Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
> E-Mail:          Voice:   +49 6133 939-122
> WWW:      Fax:     +49 6133 939-333
> --------------------------------------------------------------
> |
> |   ECOS BB-5000 Firewall- und IT-Security Appliance:
> |
> +-------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message