🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: perl.perl6.internals.api.embed
1 messages
1 total messages Started by "H.Merijn Brand" Fri, 15 Oct 2004 23:46
Re: Memory leak
#1
Author: "H.Merijn Brand"
Date: Fri, 15 Oct 2004 23:46
19 lines
2694 bytes
On Fri 15 Oct 2004 22:32, cwu668@yahoo.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 is

If pattern matching is your only goal, why not use PCRE?

ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/

> 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.

-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using Perl 5.6.1, 5.8.0, 5.8.3, & 5.9.1  on HP-UX 10.20, 11.00 & 11.11,
  AIX 4.3, SuSE 9.0 pro 2.4.21 & Win2k.     http://www.cmve.net/~merijn
Smoking perl: smokers@perl.org,             perl QA: http://qa.perl.org
  reports to: smokers-reports@perl.org,                perl-qa@perl.org
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads