tigervamp has asked for the wisdom of the Perl Monks concerning the following question:
This quickly racks up the amount of RAM used, even though no operations are being performed on the table leading me to think that there is internal initialization data not being freed when the table is closed. I tried different approaches with different versions, OSes, etc. My question is this: Has anyone else experienced this with the XBase module or anything similiar, is this a memory leak or am I overlooking something obvious? As always I appreciate the input. Thanks,use strict; use XBase; my $dbname = "dbname.dbf"; while(1) { for my $i (1 .. 100) { (my $table = new XBase "${dbname}") || die; $table->close || die; } sleep(2); }
tigervamp
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Memory Leak with XBase?
by tachyon (Chancellor) on Mar 18, 2004 at 01:44 UTC | |
by Anonymous Monk on Mar 18, 2004 at 03:31 UTC | |
by tachyon (Chancellor) on Mar 18, 2004 at 12:20 UTC | |
by tigervamp (Friar) on Mar 18, 2004 at 02:45 UTC | |
|
Re: Memory Leak with XBase?
by zentara (Cardinal) on Mar 18, 2004 at 16:39 UTC | |
by tigervamp (Friar) on Mar 19, 2004 at 17:15 UTC |