<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>%w(Akita On Rails) * 2.0 - Ruby e Mem&#243;ria Comments</title>
  <id>tag:www.akitaonrails.com,2008:/2008/2/22/ruby-e-mem-ria/comments</id>
  <generator version="0.8.0" uri="http://mephistoblog.com">Mephisto Drax</generator>
  <link href="http://www.akitaonrails.com/2008/2/22/ruby-e-mem-ria/comments.xml" rel="self" type="application/atom+xml"/>
  <link href="/2008/2/22/ruby-e-mem-ria" rel="alternate" type="text/html"/>
  <updated>2008-02-23T14:38:05Z</updated>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Lucas H&#250;ngaro</name>
    </author>
    <id>tag:www.akitaonrails.com,2008-02-22:2273:2287</id>
    <published>2008-02-23T14:38:05Z</published>
    <updated>2008-02-23T14:38:05Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="Opini&#245;es"/>
    <link href="http://www.akitaonrails.com/2008/2/22/ruby-e-mem-ria" rel="alternate" type="text/html"/>
    <title>Comment on 'Ruby e Mem&#243;ria' by Lucas H&#250;ngaro</title>
<content type="html">&lt;p&gt;Exato, Akita. Apenas repeti o que você escreveu pra enfatizar que não adianta forçar chamadas a GC, pois a memória continua alocada.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>AkitaOnRails</name>
    </author>
    <id>tag:www.akitaonrails.com,2008-02-22:2273:2282</id>
    <published>2008-02-22T22:27:26Z</published>
    <updated>2008-02-22T22:27:26Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="Opini&#245;es"/>
    <link href="http://www.akitaonrails.com/2008/2/22/ruby-e-mem-ria" rel="alternate" type="text/html"/>
    <title>Comment on 'Ruby e Mem&#243;ria' by AkitaOnRails</title>
<content type="html">&lt;p&gt;Foi o que eu disse :&lt;del&gt;) &lt;span class=&quot;caps&quot;&gt;O GC&lt;/span&gt; funciona, o interpretador instanciou 40 Mb em objetos. Digamos que 30Mb o GC consegue limpar e agora vc tem só 10Mb, mas o sistema ainda vai enxergar o processo usando 40 Mb. Mas agora, se vc instanciar mais 10Mb, vai consumir um total de 20Mb mas eu processo continua tendo 40Mb. Se vc instanciar mais 30Mb, daí seu processo sobe pra 50Mb. -&lt;/del&gt; a grosso modo é isso.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Lucas H&#250;ngaro</name>
    </author>
    <id>tag:www.akitaonrails.com,2008-02-22:2273:2280</id>
    <published>2008-02-22T19:39:48Z</published>
    <updated>2008-02-22T19:39:48Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="Opini&#245;es"/>
    <link href="http://www.akitaonrails.com/2008/2/22/ruby-e-mem-ria" rel="alternate" type="text/html"/>
    <title>Comment on 'Ruby e Mem&#243;ria' by Lucas H&#250;ngaro</title>
<content type="html">&lt;p&gt;Neves, pelo que entendo do GC do Ruby, ele pode até &#8220;matar&#8221; os objetos marcados, mas não devolve a memória ao sistema.&lt;/p&gt;


	&lt;p&gt;Ele &#8220;acredita&#8221; que, se você já bateu 100mb de memória em uso, vai precisar outra vez e, como alocar memória é caro, mantém essa memória alocada.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Neves</name>
    </author>
    <id>tag:www.akitaonrails.com,2008-02-22:2273:2279</id>
    <published>2008-02-22T19:11:20Z</published>
    <updated>2008-02-22T19:11:20Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="Opini&#245;es"/>
    <link href="http://www.akitaonrails.com/2008/2/22/ruby-e-mem-ria" rel="alternate" type="text/html"/>
    <title>Comment on 'Ruby e Mem&#243;ria' by Neves</title>
<content type="html">&lt;p&gt;Akita, não seria possível então, criar um script god que força o GC quando a memória ultrapassar tantos megas?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Lucas H&#250;ngaro</name>
    </author>
    <id>tag:www.akitaonrails.com,2008-02-22:2273:2276</id>
    <published>2008-02-22T18:21:40Z</published>
    <updated>2008-02-22T18:21:40Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="Opini&#245;es"/>
    <link href="http://www.akitaonrails.com/2008/2/22/ruby-e-mem-ria" rel="alternate" type="text/html"/>
    <title>Comment on 'Ruby e Mem&#243;ria' by Lucas H&#250;ngaro</title>
<content type="html">&lt;p&gt;Bem interessante.&lt;/p&gt;


	&lt;p&gt;O curioso é que muito &#8220;cabeça fechada&#8221; pega esse tipo de coisa e faz uma tempestade sem saber do que está falando. Ainda não achei plataforma perfeita, sem qualquer tipo de leaks.&lt;/p&gt;


	&lt;p&gt;Acredito que a idéia é conhecer a plataforma da sua aplicação e utilizar as ferramentas apropriadas para cada serviço.&lt;/p&gt;</content>  </entry>
</feed>
