search for: nomemoryerror

Displaying 13 results from an estimated 13 matches for "nomemoryerror".

Did you mean: memoryerror
2006 Apr 28
3
NoMemoryError Oracle
...trying to run rails on a Solaris 10 box with Ruby/OCI8, but I''m getting the following errors when trying to start up. # script/server => Booting WEBrick... /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/servers/ webrick.rb:49:in `[]='': failed to allocate memory (NoMemoryError) from /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/ commands/servers/webrick.rb:49 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:21:in `require'' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/ lib/active_support/dependenci...
2005 Mar 18
4
NoMemoryError on "gem install rails"
...Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails'' Updating Gem source index for: http://gems.rubyforge.org /home/foo/usr/lib/ruby/1.8/yaml.rb:119:in `load'': failed to allocate memory (NoMemoryError) from /home/foo/usr/lib/ruby/1.8/yaml.rb:119:in `load'' from /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:119:in `convert_spec'' from /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:56:in `source_index''...
2007 Jun 19
0
NoMemoryError ActiveSupportMultibyte - Normalize
Hello all, I am importing large word documents. I have a test file which is 30mb in length. I run this through a series of processes to clean it up and extract the data i need to inject bits of it into a database. The 30mb file runs fine on my Mac. But on the FreeBSD server dies with a NoMemoryError at one of the first steps, which is normalizing the file. Basically, the sequence is the user clicks import, this calls MiddleMan and starts a backgrounDRB task to import the file. The file is scanned through using Hpricot to get an idea on size and then is sent to normalize to sanitze the Unicod...
2006 Apr 18
1
NoMemoryError
I am using the Openbase adapter and have had a similar glitch here and there, but after I go into production I consistently get an error on one page. ActionView::TemplateError (NoMemoryError: failed to allocate memory: SELECT * FROM ... I cannot track down the exact location of the error, but the production log says it was around: /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/ active_record/connection_adapters/abstract_adapter.rb:120:in `log'' /usr/local/lib/r...
2006 Nov 07
1
Memory consumption too high
Hi, I''m having trouble with ferret and AAF blowing up with a NoMemoryError. Sometimes when I add documents inside my rails app. Ferret starts consuming huge amounts of memory. I''m on a machine with 2GB of memory and it still runs out of memory. Sometimes I''m able to run MyObject.rebuild_index and the memory doesn''t move up at all. Howeve...
2007 Mar 18
3
"ö" causes find_by_contents not to return
...a location database (geonames.org) with Location.rebuild_index. The data is in utf-8. Now calling Location.find_by_contents "?" does not return a result, causes a lot of CPU load, and finally exits with an error "index.rb:702: in ''parse'': failed to allocate memory (NoMemoryError)". Seems a problem in ''process_query''. Similar results for sometimes for other German Umlauts... -- Posted via http://www.ruby-forum.com/.
2007 Apr 13
5
[Ferret] Serious memory leak on Joyent / TextDrive / Solaris
...; >> include Ferret >> index = Index::Index.new() >> index << "My document" >> index.search_each("bon?") { |id,score| puts score } /opt/csw/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:749:in `parse'': failed to allocate memory (NoMemoryError) from /opt/csw/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:749:in `do_process_query'' from /opt/csw/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:382:in `search_each'' from /opt/csw/lib/ruby/1.8/monitor.rb:229:in `synchronize''...
2009 Jun 02
9
XML::LibXML::Reader
is there anybody who knows how we can get child values using libxml (Reader class) def xml_import_to_brands require''xml'' reader = XML::Reader.file(''c:/brands.xml'') . . .
2011 Mar 09
4
prerun_command don't stop puppet on error
When an error occurs in prerun_command, puppet continues execution instead of stopping. We can see the error at the log file, but puppet cotinues doing changes: puppetd[18430]: Failed to prepare catalog: Could not run command from prerun_command: Execution of ''/path/to/command'' returned 1: We want to prevent changes when an error occurs in prerun_command. Our puppet.conf:
2008 Jan 17
6
Problems with sqlserver 2000 and ActiveRecord
...have installed the sql server ado provider). If i try using ODBC, neither works. I can connect to database, and some querys work, but in a quey i get a memory error: C:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.1/lib/active_record/connection_a dapters/abstract_adapter.rb:150:in `log'': NoMemoryError: negative allocation siz e (or too big): SELECT * FROM si_Empresas WHERE (si_Empresas.[IdEmpresa] = 227 2) (ActiveRecord::StatementInvalid) Any idea will be appreciated, Regards Saludos -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You recei...
2007 Apr 13
4
[Ferret] QueryParser memory leak bug (Joyent/OpenSolaris)
...irb(main):008:0> index << "something" # Now the error while processing "bol?" irb(main):009:0> query = index.process_query("bo\303\264") /opt/csw/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:749:in `parse'': failed to allocate memory (NoMemoryError) from /opt/csw/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:749:in `do_process_query'' from /opt/csw/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:676:in `process_query'' from /opt/csw/lib/ruby/1.8/monitor.rb:229:in `synchronize'' from /opt/csw/lib/rub...
2005 Apr 16
2
[brian-DcfkaLM1YyUyJZ9hMiHtYPC9HSW9iNxf@public.gmane.org: WEBrick error]
...15 19:34:59] INFO ruby 1.8.2 (2004-12-25) [i686-linux] [2005-04-15 19:34:59] INFO WEBrick::HTTPServer#start: pid=6203 port=3000 127.0.0.1 - - [15/Apr/2005:19:35:06 EDT] "GET /account/new HTTP/1.1" 500 6857 - -> /account/new [FATAL] failed to allocate memory The page returns: NoMemoryError in Account#new failed to allocate memory script/server:48 I created the database, run script/generate model,controller, and edited the controller (scaffold :account). I have googled but have come up with no answers. Anyone seen this error? My env: SuSE 9.2 Postgresql 7.4 gems 0.8.10 ruby 1....
2006 Aug 31
4
crashes
I just started playing with puppet. Unfortunately, it keeps crashing in a variety of places. I don''t have much experience with Ruby yet, so any tips in tracking down these problems would be appreciated. I''m using the Debian package 0.18.4-1. Here''s the output of a couple runs: www01:/home/cwarden# puppetd --verbose --onetime info: Caching configuration at