On Thu, 7 Aug 2003, [EMAIL PROTECTED] wrote: > Having a potential TreeBuilder memory problem when using it to parse > through a large HTML table (> 2K rows) where the memory allocation grows to > about 20M on my server and never goes down even after finishing with the > HTML and TreeBuilder structures. The Perl script runs as a CGI and Apache > gives up after awhile with the following line in the error logs - "Out of > Memory !!" [...]
20 Mb does seem a lot, but why would one expect the process memory usage to fall after parsing is comlpete? On most systems, memory used by a process and free'd isn't returned to the system until the process exits. Sorry, no actual help... John
