On Monday 05 January 2004 2:09 pm, Dan Anderson wrote:
> > My problem is one of destroying a block (object), making sure that I have
> > no memory leakage.
>
> Out of curiosity, when you say memory leakage do you mean that the
> memory persists after the Perl process exits, or just while it is
> running?  And have you verified this?  And, is the program a daemon
> where the memory leak will build up over time?  (i.e. if the program
> runs for 10 minutes you may just want to bite the bullet and let the
> memory leak -- if it gets cleaned up when the process exits)

By memory leak, I meant a redundant object being kept in memory, i.e. refcount 
for the object still being >0 after calling the delete method.

The program, while initially being an academic project for me to learn OOP, 
will eventually be interactive, potentially running for long periods and I 
didn't want it to keep grabbing more memory.

The problem, like the project is really pretty academic.

>
> -Dan

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to