Re: Memory leak by H.Merijn Brand- October 16, 2004 On Fri 15 Oct 2004 22:32, cwu668yahoo.com (PerlDiscuss - Perl Newsgroups and mailing lists) wrote:> 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 isIf pattern matching is your only goal, why not use PCREftp:ftp.csx.cam.ac.ukpubsoftwareprogrammingpcre> difficult in C. However, frequently calling either of functions eval_pv or> perl_run would keep increasing the size of process. How come...http://www.nntp.perl.org/group/perl.perl6.internals.api.embed/2004/10/msg6.html Re: Memory leak by Dan Sugalski- October 15, 2004 At 8:32 PM +0000 101504, cwu668yahoo.com (PerlDiscuss - Perl Newsgroups and mailing li wrote:>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&39;t release memory they use. I wonder if this is an existing>bug in Perl5 or there is.http://www.nntp.perl.org/group/perl.perl6.internals.api.embed/2004/10/msg5.html Memory leak by cwu668- October 15, 2004 I need to embed Perl function in C program running as a daemon on Linuxand Solaris. What it needs is to do pattern matching in Perl while it isdifficult in C. However, frequently calling either of functions eval_pv orperl_run would keep increasing the size of process. How come thesefunctions don&39;t release memory they use. I wonder if this is an existingbug in Perl5 or there is a smart way to handle this. Please help.-Charleshttp://www.nntp.perl.org/group/perl.perl6.internals.api.embed/2004/10/msg4.html |