closer changed the topic of #ruby-core to: check the latest release candidate for 1.9.1 release ftp.ruby-lang.org:/home/yugui/ruby-1.9.1-r26021+1.tar.bz2
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hsbt_away is now known as hsbt
shinnya has joined #ruby-core
Aethenelle has quit [Ping timeout: 240 seconds]
Aethenelle has joined #ruby-core
shinnya has quit [Ping timeout: 265 seconds]
Aethenelle has quit [Quit: Aethenelle]
rafaelfranca has joined #ruby-core
rafaelfranca has quit [Changing host]
rafaelfranca has joined #ruby-core
znz_jp has quit [Remote host closed the connection]
<zzak>
[Ryan Bigg, irc.freenode.net] I got asked today and I don't know the answer to this: when should we use block.call and when should we use yield?
<zzak>
[Ibrahim Awwal|ZNC, irc.freenode.net] he says ruby allocates multiple "heaps" and each one is 16kb and if GC finds that it ran out of free heaps it will allocate 1.8x more
<zzak>
[Ibrahim Awwal|ZNC, irc.freenode.net] and the number of heaps is never decreased
<zzak>
[Ibrahim Awwal|ZNC, irc.freenode.net] is that still true? is there no way to reclaim that heap space once we no longer need it, besides restarting the process?
drbrain has quit [Ping timeout: 276 seconds]
<zzak>
[Joseph, irc.freenode.net] IbrahimA, I believe thats still the case but a factor of 1.4
drbrain has joined #ruby-core
<zzak>
[the method of tikt, irc.freenode.net] Does .find return just the first matching result?
<zzak>
[apeiros, irc.freenode.net] IbrahimA: a modern OS will page out unused memory anyway and virtualize it
<zzak>
[apeiros, irc.freenode.net] droptone: there's an infinite number of .find methods.
<zzak>
[Ibrahim Awwal|ZNC, irc.freenode.net] apeiros: what if swap is turned off or swap space is low?
<zzak>
[Ibrahim Awwal|ZNC, irc.freenode.net] it seems like for a long running process this could be a potential trouble spot
<zzak>
[Ibrahim Awwal|ZNC, irc.freenode.net] i've got a sidekiq worker running all sorts of jobs, and a new type of job im trying to add tends to use a lot of memory depending on what sorts of files users upload
<zzak>
[apeiros, irc.freenode.net] IbrahimA: if I run "top" I see `VM: 962G vsize`
<zzak>
[Ibrahim Awwal|ZNC, irc.freenode.net] heh
<zzak>
[apeiros, irc.freenode.net] my system doesn't have 962GB of ram, neither does it have that amount of disk space
<zzak>
[Ibrahim Awwal|ZNC, irc.freenode.net] actually yeah i've seen chrome does that
<znz_jp>
biff: [ruby-changes:42896] eregon:r54970 (trunk): * insns.def (defineclass): Also raise an error when redeclaring the - http://mla.n-z.jp/?ruby-changes=42896
nagachika has joined #ruby-core
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
Aethenelle has joined #ruby-core
hsbt_away is now known as hsbt
rafaelfranca has joined #ruby-core
rafaelfranca has quit [Ping timeout: 276 seconds]
Aethenelle has quit [Quit: Aethenelle]
Aethenelle has joined #ruby-core
enebo has joined #ruby-core
nagachika has quit [Remote host closed the connection]
shinnya has joined #ruby-core
rafaelfranca has joined #ruby-core
shinnya has quit [Ping timeout: 276 seconds]
nagachika has joined #ruby-core
nagachika has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby-core
charliesome_ has joined #ruby-core
rafaelfranca has quit [Remote host closed the connection]
charliesome has quit [Ping timeout: 252 seconds]
rafaelfranca has joined #ruby-core
rafaelfranca has quit [Remote host closed the connection]