Front page | perl.perl6.internals.api.embed |
Postings from October 2004
Memory leak
Thread Next
From:
cwu668
Date:
October 15, 2004 13:36
Subject:
Memory leak
Message ID:
20041015203207.15503.qmail@lists.develooper.com
I need to embed Perl function in C program running as a daemon on Linux
and Solaris. What it needs is to do pattern matching in Perl while it is
difficult in C. However, frequently calling either of functions eval_pv or
perl_run would keep increasing the size of process. How come these
functions don't release memory they use. I wonder if this is an existing
bug in Perl5 or there is a smart way to handle this. Please help.
-Charles
Thread Next