You know, maybe you're onto something.  I didn't notice the problem  
when I first used back_door but then as pages started adding up the  
problem started to be very noticeable.  Now it's unusable.  It's odd  
to me but maybe it make perfect sense to some of you.  If I have the  
back-end closed down I can open many pages that are running the  
conditional statements and ruby code on the front-end without issue.    
It only crashes when admin/pages/ is open.  I feel like this must be a  
small conflict someone where but I haven't a clue where to start.

Steven


On Dec 21, 2009, at 1:48 PM, Jim Gay wrote:

> I don't really know them well at all. But I imagine that if the  
> problem only appears with them, then it could be a problem in their  
> implementation. Or perhaps a problem in Radiant's implementation  
> that is only exposed by these extensions.
>
> How many pages do you have?
>
> -Jim
>
> On Dec 21, 2009, at 2:23 PM, Steven Southard wrote:
>
>> Do those extensions add that much more stress?  Without them I can't
>> make it fail.  With them it only fails with admin/pages open.  No I
>> can't add memory.
>>
>>
>> On Dec 21, 2009, at 1:17 PM, Jim Gay wrote:
>>
>>> This tells me you might have too little memory for the app:
>>>
>>>> ActionView::TemplateError (failed to allocate memory)
>>>
>>> Is this hosted or locally developed? If hosted, can you add more
>>> memory?
>>> How many pages are you loading?
>>>
>>> On Dec 21, 2009, at 12:46 PM, Steven Southard wrote:
>>>
>>>> Either of these extensions seem to lead to application errors in  
>>>> 8.1.
>>>> If I turn either of these extensions on about half the time I get
>>>> something like:
>>>>
>>>> Processing Admin::PagesController#edit (for 76.251.191.123 at
>>>> 2009-12-21 17:30:27) [GET]
>>>> Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"admin/
>>>> pages"}
>>>> Rendering template within layouts/application
>>>> Rendering admin/pages/edit
>>>> Completed in 1270ms (View: 1204, DB: 8) | 200 OK [http://
>>>> www.phxated.stevenso.joyeurs.com/admin/pages/1/edit
>>>> ]
>>>>
>>>>
>>>> Processing Admin::PagesController#index (for 76.251.191.123 at
>>>> 2009-12-21 17:30:42) [GET]
>>>> Parameters: {"action"=>"index", "controller"=>"admin/pages"}
>>>> Rendering template within layouts/application
>>>> Rendering admin/pages/index
>>>>
>>>> ActionView::TemplateError (failed to allocate memory) on line #33  
>>>> of
>>>> vendor/radiant/app/views/layouts/application.html.haml:
>>>> 30:             %p= flash[:error]
>>>> 31:         #content
>>>> 32:           = find_and_preserve(yield)
>>>> 33:       %hr{:class=>"hidden"}/
>>>> 34:       #footer
>>>> 35:         %p
>>>> 36:           This site was made with Ruby and is powered by
>>>>
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/haml/buffer.rb:
>>>> 137:in `push_script'
>>>>   vendor/radiant/app/views/layouts/application.html.haml:33:in
>>>> `
>>>> _run_haml_vendor47radiant47app47views47layouts47application46html46ha
>>>> ml'
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/haml/helpers/
>>>> action_view_mods.rb:14:in `render'
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/haml/helpers/
>>>> action_view_mods.rb:14:in `render'
>>>>   vendor/radiant/lib/radiant/resource_responses.rb:18:in
>>>> `response_for'
>>>>   vendor/radiant/app/controllers/admin/pages_controller.rb:16:in
>>>> `index'
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/sass/plugin/
>>>> rails.rb:19:in `process'
>>>>
>>>> Rendering /users/home/stevenso/domains/ 
>>>> phxated.stevenso.joyeurs.com/
>>>> radiant/public/500.html (500 Internal Server Error)
>>>>
>>>>
>>>>
>>>> or
>>>>
>>>>
>>>> Processing Admin::PagesController#index (for 76.251.191.123 at
>>>> 2009-12-21 15:22:41) [GET]
>>>> Parameters: {"action"=>"index", "controller"=>"admin/pages"}
>>>> Rendering template within layouts/application
>>>> Rendering admin/pages/index
>>>>
>>>> ActionView::TemplateError (failed to allocate memory) on line #25  
>>>> of
>>>> vendor/radiant/app/views/admin/pages/_node.html.haml:
>>>> 22:
>>>> 23: - if expanded
>>>> 24:   - page.children.each do |child|
>>>> 25:     = render_node child, :level => level + 1, :simple => simple
>>>>
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/haml/helpers/
>>>> action_view_mods.rb:12:in `render'
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/haml/helpers.rb:
>>>> 57:in `non_haml'
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/haml/helpers/
>>>> action_view_mods.rb:12:in `render'
>>>>   vendor/radiant/app/helpers/admin/node_helper.rb:6:in
>>>> `render_node'
>>>>   vendor/radiant/app/views/admin/pages/_node.html.haml:25:in
>>>> `
>>>> _run_haml_vendor47radiant47app47views47admin47pages47_node46html46ham
>>>> l_locals_level_node_object_page_simple
>>>> '
>>>>   vendor/radiant/app/views/admin/pages/_node.html.haml:24:in
>>>> `
>>>> _run_haml_vendor47radiant47app47views47admin47pages47_node46html46ham
>>>> l_locals_level_node_object_page_simple
>>>> '
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/haml/helpers/
>>>> action_view_mods.rb:12:in `render'
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/haml/helpers.rb:
>>>> 57:in `non_haml'
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/haml/helpers/
>>>> action_view_mods.rb:12:in `render'
>>>>   vendor/radiant/app/helpers/admin/node_helper.rb:6:in
>>>> `render_node'
>>>>   vendor/radiant/app/views/admin/pages/_node.html.haml:25:in
>>>> `
>>>> _run_haml_vendor47radiant47app47views47admin47pages47_node46html46ham
>>>> l_locals_level_node_object_page_simple
>>>> '
>>>>   vendor/radiant/app/views/admin/pages/_node.html.haml:24:in
>>>> `
>>>> _run_haml_vendor47radiant47app47views47admin47pages47_node46html46ham
>>>> l_locals_level_node_object_page_simple
>>>> '
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/haml/helpers/
>>>> action_view_mods.rb:12:in `render'
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/haml/helpers.rb:
>>>> 57:in `non_haml'
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/haml/helpers/
>>>> action_view_mods.rb:12:in `render'
>>>>   vendor/radiant/app/helpers/admin/node_helper.rb:6:in
>>>> `render_node'
>>>>   vendor/radiant/app/views/admin/pages/_node.html.haml:25:in
>>>> `
>>>> _run_haml_vendor47radiant47app47views47admin47pages47_node46html46ham
>>>> l_locals_level_node_object_page_simple
>>>> '
>>>>   vendor/radiant/app/views/admin/pages/_node.html.haml:24:in
>>>> `
>>>> _run_haml_vendor47radiant47app47views47admin47pages47_node46html46ham
>>>> l_locals_level_node_object_page_simple
>>>> '
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/haml/helpers/
>>>> action_view_mods.rb:12:in `render'
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/haml/helpers.rb:
>>>> 57:in `non_haml'
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/haml/helpers/
>>>> action_view_mods.rb:12:in `render'
>>>>   vendor/radiant/app/helpers/admin/node_helper.rb:6:in
>>>> `render_node'
>>>>   vendor/radiant/app/views/admin/pages/index.html.haml:19:in
>>>> ` 
>>>> _run_haml_vendor47radiant47app47views47admin47pages47index46html46ha
>>>> ml'
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/haml/helpers/
>>>> action_view_mods.rb:14:in `render'
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/haml/helpers/
>>>> action_view_mods.rb:14:in `render'
>>>>   vendor/radiant/lib/radiant/resource_responses.rb:18:in
>>>> `response_for'
>>>>   vendor/radiant/app/controllers/admin/pages_controller.rb:16:in
>>>> `index'
>>>>   vendor/radiant/vendor/plugins/haml/rails/./lib/sass/plugin/
>>>> rails.rb:19:in `process'
>>>>
>>>> Rendering /users/home/stevenso/domains/ 
>>>> phxated.stevenso.joyeurs.com/
>>>> radiant/public/500.html (500 Internal Server Error)
>>>>
>>>>
>>>>
>>>>
>>>> The error can very because it will occur on any number of pages  
>>>> under
>>>> admin/pages but it is alway and allocate memory error and if I
>>>> refresh
>>>> a couple of times I can get the page to come up or save.
>>>>
>>>>
>>>> Can anyone spot what may be happening here?
>>>>
>>>> Best,
>>>>
>>>> Steven
>>>>
>>>>
>>>> http://www.stevensouthard.com
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to