[ clocc-Bugs-1743109 ] Memory consumed by (cllib:open-url)

"SourceForge.net" <[email protected]> Mon, 25 Jun 2007 12:56:23 -0700
Newsgroups gmane.lisp.clocc.devel
Message-ID <[email protected]>
Bugs item #1743109, was opened at 2007-06-25 19:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=101802&aid=1743109&group_id=1802

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: cllib
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Aneil Mallavarapu (amallavarapu)
Assigned to: Sam Steingold (sds)
Summary: Memory consumed by (cllib:open-url)

Initial Comment:
CLLIB:OPEN-URL seems to be chewing up memory.  Evaling either (close (cllib:open-url (cllib:url "http://yahoo.com"))) or (cllib:with-open-url (stream "http://yahoo.com") ())chews up ~ 200-400K.

I think the problem is that background processes aren't being cleaned up.  Check (mp:list-all-processes) on Lispworks, sys:*all-processes* on Allegro - you'll find a number of sleeping "Timeout Monitor" processes waiting around unused.

I could not replicate the problem using (port:with-timeout (5) (princ "in process")).  The timeout processes may have a stream open or something, and are failing to get cleaned up?  So, I'm assigning this to CLLIB.






----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=101802&aid=1743109&group_id=1802

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/