Loading ...
Sorry, an error occurred while loading the content.

5266Re: [soaplite] memory leak

Expand Messages
  • Ollie Cook
    Mar 14 4:30 AM
    • 0 Attachment
      On Mon, 2006-03-13 at 21:00 +0000, Ollie Cook wrote:
      > On Mon, 2006-03-13 at 12:58 -0800, Byrne Reese wrote:
      > > That object is to track whether an object has been parsed or not to
      > > avoid circular/infinite loops in processes href references. Make sense?
      > Should the hash be cleared, then, after each successful parse of an XML
      > response?
      > At the moment it is growing between requests. If the XML returned is
      > sufficiently different on each iteration, the memory consumption grows
      > quite rapidly.
      > Ollie

      Having instrumented this further today, I can say that the problem is
      not in SOAP::Lite but rather XML::SAX (which I use through XML::Simple)
      as a deserializer. If I switch to using XML::Parser (my XML is generally
      quite small, so the trade-off is OK) rather than XML::SAX the resident
      size of the process does not grow.

      Byrne, you're off the hook! :)


      Ollie Cook
      UNIX Scripter
      Information Systems

      Direct Line: 020 8834 8128
      Waterfront | Hammersmith Embankment | Chancellors Road London | W6 9HP
    • Show all 6 messages in this topic