view · edit · sidebar · attach · print · history

20120312-odba_persistable_patch

<< Masa.20120314-memory_consumption-oddb_org | Index | Masa.20120309-odba_persistable_patch >>


Note

  • with this patch, Persistable#odba_stubize is called many times
  • At the same time, I tried to access oddbd many times with memory consumption up to 2.8GB.
  • After some time, I got an blank page and NoMethod error page with
  • Finally, even the top page disappeared
  • After rebooting oddbd, it worked well


---

Error

error in SBSM::Session#to_html: /
NameError
uninitialized constant ODDB::Migel::Product
/home/masa/ywesee/oddb.org/src/view/drugs/centeredsearchform.rb:206:in `heading'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.5/lib/htmlgrid/composite.rb:142:in `create'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.5/lib/htmlgrid/divcomposite.rb:33:in `block in compose'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.5/lib/htmlgrid/divcomposite.rb:13:in `each'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.5/lib/htmlgrid/divcomposite.rb:13:in `compose'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.5/lib/htmlgrid/divlist.rb:12:in `block in compose'
view · edit · sidebar · attach · print · history
Page last modified on March 12, 2012, at 06:31 PM