Search
Re: Re: Memory Leaks in Rails
by ep
What i observed was: it not leaking, it just sticking within the closures and will get eventually free if the same template is rendered with smaller footprint. Assume 1st run - render 5000 collection partial where collection initialized in a controller as instance variables. if the same instance will server the similar request and render the same template with smaller collection, then 'fat' collection will be eventually garbage collected
Post comment:
Format Type: 
  Convert newlines
  Receive comment notifications for this article
Subject: 
   
insert bold tags insert italic tags insert underline tags insert strikethough tags insert link insert blockquote tags
Comment: 
Comment verification:

Please enter the text you see inside the graphic to post your comment:
You are not currently logged in. If you would like your user information to be displayed with your comment, please enter your login information below.
Login information:
Username: 
Password: 
If you would like to post contact information on your comment, please enter your information into the optional fields below:
Contact information:
Name: 
URL:  example: http://yourdomain.com
Email: 
Please note: email will not be displayed on the site, only for the blog owner. If logged in, URL will only be used.