Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^5: XML::Twig loves to eat my memory

by almut (Canon)
on Jul 22, 2010 at 21:20 UTC ( [id://850914]=note: print w/replies, xml ) Need Help??


in reply to Re^4: XML::Twig loves to eat my memory
in thread XML::Twig loves to eat my memory

...memory was at 166MB after the dispose()

Does the memory usage increase another ~166MB if you call process() a second time with the same file?  (Your original post sounds like it does, but just to be sure...)

The reason I'm asking is because memory might not be returned to the OS immediately, but just freed for reuse Perl-internally.

Replies are listed 'Best First'.
Re^6: XML::Twig loves to eat my memory
by carcus88 (Acolyte) on Jul 23, 2010 at 14:44 UTC
    Yes it continues to increase
    Size after first process() 
    167,472 MB
    Size after second process()
    316,212 MB
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://850914]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-19 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found