#jython IRC Log (v0.9)

Index

IRC Log for 2013-07-10

Timestamps are in GMT/BST.

[2:28] * purplefox_ (~purplefox@80-42-95-114.dynamic.dsl.as9105.com) Quit (Ping timeout: 246 seconds)
[2:45] * purplefox_ (~purplefox@80-42-95-114.dynamic.dsl.as9105.com) has joined #jython
[3:48] * lheuer (~Adium@blfd-4d0834b5.pool.mediaWays.net) has joined #jython
[4:10] * purplefox_ (~purplefox@80-42-95-114.dynamic.dsl.as9105.com) Quit (Ping timeout: 240 seconds)
[4:52] * clajo04 (~clajo04@pool-108-46-137-135.nycmny.fios.verizon.net) Quit (Read error: Connection reset by peer)
[4:53] * clajo04 (~clajo04@pool-108-46-137-135.nycmny.fios.verizon.net) has joined #jython
[6:25] * royw (~royw@c-67-188-8-165.hsd1.ca.comcast.net) has joined #jython
[6:29] <royw> Hi Jython users, question about unloading Jython. We've got an application that users Jython to load some configuration information, and then never touches it again
[6:30] <royw> we've got some memory pressure, and profiling reveals that zipimport._zip_directory_cache is consuming 10 MB
[6:30] <royw> is there any way to flush that cache? Py.getSystemState().cleanup() isn't doing it
[7:16] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Read error: Connection reset by peer)
[7:29] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[7:39] * royw_ (~royw@173.252.71.189) has joined #jython
[7:41] * royw (~royw@c-67-188-8-165.hsd1.ca.comcast.net) Quit (Ping timeout: 240 seconds)
[7:41] * royw_ is now known as royw
[7:42] * purplefox (~purplefox@80-42-95-114.dynamic.dsl.as9105.com) has joined #jython
[7:49] * royw (~royw@173.252.71.189) Quit (Quit: royw)
[10:29] * agronholm (~agronholm@2001:1bc8:102:6f29:b9cf:2896:cd26:f9eb) Quit (Ping timeout: 264 seconds)
[10:33] * agronholm (~agronholm@2001:1bc8:102:6f29:f99d:823d:7345:b6d8) has joined #jython
[10:33] * ChanServ sets mode +o agronholm
[13:24] * peke (peke@kapsi.fi) has joined #jython
[13:30] * peke_ (peke@kapsi.fi) Quit (*.net *.split)
[13:37] * Thev00d00 (~v00d00@gentoo/developer/TheV00d00) Quit (Quit: No Ping reply in 120 seconds.)
[13:37] * Thev00d00 (~v00d00@pegasus.v00d00.net) has joined #jython
[13:37] * Thev00d00 (~v00d00@pegasus.v00d00.net) Quit (Changing host)
[13:37] * Thev00d00 (~v00d00@gentoo/developer/TheV00d00) has joined #jython
[13:43] * r0bby (~wakawaka@cpe-68-174-56-147.hvc.res.rr.com) has joined #jython
[13:43] * r0bby (~wakawaka@cpe-68-174-56-147.hvc.res.rr.com) Quit (Changing host)
[13:43] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[13:49] * mary_ (~ircfnode@moya.miuark.net) has joined #jython
[13:58] * agronholm (~agronholm@2001:1bc8:102:6f29:f99d:823d:7345:b6d8) Quit (*.net *.split)
[13:58] * purplefox (~purplefox@80-42-95-114.dynamic.dsl.as9105.com) Quit (*.net *.split)
[13:58] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (*.net *.split)
[13:58] * lopex (uid4272@gateway/web/irccloud.com/x-vopgmgclskwbjmhn) Quit (*.net *.split)
[13:58] * mary (~ircfnode@unaffiliated/mary) Quit (*.net *.split)
[13:58] * ChanServ (ChanServ@services.) Quit (*.net *.split)
[14:00] * purplefox (~purplefox@80-42-95-114.dynamic.dsl.as9105.com) has joined #jython
[14:11] * verterok` (~ggonzalez@91.189.93.48) has joined #jython
[14:12] * purplefox_ (~purplefox@80.42.95.114) has joined #jython
[14:12] * [Arfreve1] (~Arfrever@140.211.11.9) has joined #jython
[14:15] * ChanServ (ChanServ@services.) has joined #jython
[14:18] * purplefox (~purplefox@80-42-95-114.dynamic.dsl.as9105.com) Quit (*.net *.split)
[14:18] * verterok (~ggonzalez@unaffiliated/verterok) Quit (*.net *.split)
[14:18] * [Arfrever] (~Arfrever@apache/committer/Arfrever) Quit (*.net *.split)
[14:26] * ChanServ (ChanServ@services.) Quit (*.net *.split)
[14:58] * lopex (uid4272@gateway/web/irccloud.com/x-syzkusenhtplwpfe) has joined #jython
[15:04] * agronholm (~agronholm@2001:1bc8:102:6f29:f99d:823d:7345:b6d8) has joined #jython
[15:04] * ChanServ (ChanServ@services.) has joined #jython
[15:05] * lopex is now known as Guest55349
[15:10] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[15:13] * mary_ is now known as mary
[15:14] * mary (~ircfnode@moya.miuark.net) Quit (Changing host)
[15:14] * mary (~ircfnode@unaffiliated/mary) has joined #jython
[15:33] * agronholm (~agronholm@2001:1bc8:102:6f29:f99d:823d:7345:b6d8) Quit (*.net *.split)
[15:33] * ChanServ (ChanServ@services.) Quit (*.net *.split)
[16:03] * ChanServ (ChanServ@services.) has joined #jython
[16:13] * ChanServ (ChanServ@services.) Quit (*.net *.split)
[16:31] -christel- [Global Notice] As you may have noticed we appear to have trotted over the grumpy troll's bridge -- the network is currently being attacked and as a result we're temporarily without services as we work to get a working copy of the db fired up elsewhere. Apologies for the inconvenience.
[16:38] * ChanServ (ChanServ@services.) has joined #jython
[16:50] * ChanServ (ChanServ@services.) Quit (*.net *.split)
[17:45] * agronholm (~agronholm@2001:1bc8:102:6f29:1a1:ab85:2e68:b5de) has joined #jython
[17:45] * ChanServ (ChanServ@services.) has joined #jython
[17:52] * agronholm (~agronholm@2001:1bc8:102:6f29:1a1:ab85:2e68:b5de) Quit (*.net *.split)
[17:52] * ChanServ (ChanServ@services.) Quit (*.net *.split)
[17:53] * r0bby (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 256 seconds)
[17:54] -mist- [Global Notice] Sorry for the continued lack of services, we're currently moving it to an alternate location. Thanks for your patience.
[17:55] * agronholm (~agronholm@2001:1bc8:102:6f29:1a1:ab85:2e68:b5de) has joined #jython
[17:55] * ChanServ (ChanServ@services.) has joined #jython
[18:01] * agronholm (~agronholm@2001:1bc8:102:6f29:1a1:ab85:2e68:b5de) Quit (*.net *.split)
[18:01] * ChanServ (ChanServ@services.) Quit (*.net *.split)
[18:02] * ciziar (~textual@217-209-117-84-no12.tbcn.telia.com) has joined #jython
[18:04] * ciziar (~textual@217-209-117-84-no12.tbcn.telia.com) Quit (Client Quit)
[18:04] * ciziar (~textual@217-209-117-84-no12.tbcn.telia.com) has joined #jython
[18:05] * ciziar (~textual@217-209-117-84-no12.tbcn.telia.com) Quit (Client Quit)
[18:18] * agronholm (~agronholm@2001:1bc8:102:6f29:1a1:ab85:2e68:b5de) has joined #jython
[18:30] * Guest55349 is now known as lopex
[18:47] * agronholm (~agronholm@2001:1bc8:102:6f29:1a1:ab85:2e68:b5de) Quit (Ping timeout: 264 seconds)
[18:48] * agronholm (~agronholm@2001:1bc8:102:6f29:1a1:ab85:2e68:b5de) has joined #jython
[19:01] * agronholm (~agronholm@2001:1bc8:102:6f29:1a1:ab85:2e68:b5de) Quit (Ping timeout: 264 seconds)
[19:01] * agronholm (~agronholm@2001:1bc8:102:6f29:1a1:ab85:2e68:b5de) has joined #jython
[19:18] * purplefox_ (~purplefox@80.42.95.114) Quit (Ping timeout: 268 seconds)
[19:31] * purplefox_ (~purplefox@80-42-95-114.dynamic.dsl.as9105.com) has joined #jython
[19:33] * ChanServ (ChanServ@services.) has joined #jython
[19:34] <jimbaker> royw, that's an interesting question - jython does maintain caches to classes etc but with weakrefs so you might have some success with del sys.modules["zipimport"]
[19:34] <jimbaker> but my playing with jconsole is not encouraging with respect to that
[19:34] <jimbaker> (would need to use a better heap analysis tool to say definitively)
[19:36] <pjenvey> it's a plain dict so you can .clear() it if necessary, which is kind of lame though, it's nota public API
[19:36] <pjenvey> though setuptools used to tinker it with, almost as if it was public
[19:37] <pjenvey> do you have a lot of zip files or eggs in the python path? that seems like a rather excessive amount of data in there
[19:37] <pjenvey> i don't believe jars would get indexed in zipimport at all
[19:38] * ChanServ (ChanServ@services.) Quit (*.net *.split)
[19:51] * ChanServ (ChanServ@services.) has joined #jython
[20:00] -mist- [Global Notice] We're still working on getting services (nickserv, chanserv, alis, etc.) back up and running. Another global notice will be sent once we're happy that they are back properly.
[20:01] * lopex is now known as Guest5524
[20:02] * Guest5524 is now known as lopex
[20:02] -mquin- [Global Notice] Services are now back but may be lagged for a little while as everyone identifies. Thank you for your patience and for flying freenode!
[20:04] * ChanServ sets mode +o agronholm
[20:14] * agronholm (~agronholm@2001:1bc8:102:6f29:1a1:ab85:2e68:b5de) Quit (Ping timeout: 264 seconds)
[20:15] * agronholm (~agronholm@2001:1bc8:102:6f29:1a1:ab85:2e68:b5de) has joined #jython
[20:15] * ChanServ sets mode +o agronholm
[20:20] * ChanServ (ChanServ@services.) Quit (*.net *.split)
[20:31] * ChanServ (ChanServ@services.) has joined #jython
[20:46] * ChanServ (ChanServ@services.) Quit (shutting down)
[20:47] * [Arfrever] (~Arfrever@minotaur.apache.org) has joined #jython
[20:55] * [Arfreve1] (~Arfrever@140.211.11.9) Quit (*.net *.split)
[20:55] * Arfrever (~Arfrever@apache/committer/Arfrever) Quit (*.net *.split)
[20:55] * thereisnospoon (~thereisno@113-61-86-28.static.qld.dsl.net.au) Quit (*.net *.split)
[20:55] * ChanServ (ChanServ@services.) has joined #jython
[20:56] * [Arfrever] is now known as Guest74377
[20:56] * purplefox_ (~purplefox@80-42-95-114.dynamic.dsl.as9105.com) Quit (Ping timeout: 260 seconds)
[20:59] * Guest74377 (~Arfrever@minotaur.apache.org) Quit (Quit: leaving)
[21:01] * thereisnospoon (~thereisno@113-61-86-28.static.qld.dsl.net.au) has joined #jython
[21:02] -mquin- [Global Notice] That should be the last bump, services are back now and should be working normally. Thank you all again for your patience and understanding.
[21:02] * corrnelia (~androirc@c-2ec37de4-74736162.cust.telenor.se) has joined #jython
[21:05] * [Arfrever] (~Arfrever@apache/committer/Arfrever) has joined #jython
[21:05] <corrnelia> Stakkars?
[21:09] * corrnelia (~androirc@c-2ec37de4-74736162.cust.telenor.se) Quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
[21:09] * Rondom (~rondom@2a01:488:66:1000:b24d:4f2f:0:1) Quit (Disconnected by services)
[21:09] * Rondom (~rondom@2a01:488:66:1000:b24d:4f2f:0:1) has joined #jython
[21:19] <jimbaker> pjenvey, it's quite reasonable that clearing out a sys.modules entry should delete the corresponding root so that classes can unload upon gc. this is the behavior i would expect
[21:20] <jimbaker> but i don't see any testing for it; the closest is in test_jy_internals around proxy creation
[21:27] * verterok` is now known as verterok
[21:27] <jimbaker> pjenvey, before i forget - both pip and easy_install seemed to be utterly borked right now; i haven't dug into any details, but looks like a 301 to https is causing issues
[21:30] * verterok (~ggonzalez@91.189.93.48) Quit (Changing host)
[21:30] * verterok (~ggonzalez@unaffiliated/verterok) has joined #jython
[21:45] <pjenvey> jimbaker - looks like _zip_directory_cache lives as a static var on the zipimport class
[21:45] <pjenvey> which is not good, but that explains what you're seeing, it not being cleared
[22:05] <jimbaker> pjenvey, indeed - we get this nice comment in zipimport.java:
[22:05] <jimbaker> // XXX: Ideally this cache would be per PySystemState
[22:05] <jimbaker> public static PyDictionary _zip_directory_cache = new PyDictionary();
[22:06] <jimbaker> all is made clear now. a cache that is not weak :) they are sneaky
[22:18] <pjenvey> http://paste.ofcode.org/Z9s249GnTPYDKbzp27qPWz should probably fix it, I haven't tried it though, and I don't think our zipimport has any tests
[22:18] <pjenvey> I think test_zipimport is still not adapted
[22:19] <pjenvey> if easy_install still works its probably ok =P
[22:20] <pjenvey> of course it's broken right now, isn't it
[22:20] <pjenvey> is it ok on 2.5?
[23:09] * agronholm (~agronholm@2001:1bc8:102:6f29:1a1:ab85:2e68:b5de) Quit (Ping timeout: 264 seconds)
[23:09] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[23:10] * agronholm (~agronholm@2001:1bc8:102:6f29:1a1:ab85:2e68:b5de) has joined #jython
[23:10] * ChanServ sets mode +o agronholm

Index

These logs were automatically created by JythonLogBot_ on irc.freenode.net using a slightly modified version of the Java IRC LogBot (github).