Displaying 20 results from an estimated 600 matches similar to: "NoMemoryError ActiveSupportMultibyte - Normalize"
2006 Apr 28
3
NoMemoryError Oracle
Hello,
I''m 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/
2008 Jan 14
3
problem with backgroundrb
hi, i am using drb and it is working fine on my local pc on windows..
and after uploading the code to the server it was working for
sometime but now it gives me error every time i invoke the process..
error---
uninitialized constant EmailWorker::Notifier - (NameError)
/usr/lib64/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
dependencies.rb:477:in `const_missing''
2007 Jun 16
1
BackgrounDRB and Sqlite3 / Autotest / Memory_test_fix Issues
Hello all.
I am using BackgrounDRB with "great happiness and joy", however, I am
running into one problem in that when I am running my tests with
autotest using Sqlite3 3.3.17 I am getting
"ActiveRecord::StatementInvalid" exception inside of the
sqlite_adapter.rb:360 which is checking for an empty structure.
I thought it might be the version of Sqlite, so I upgraded to 3.3.17
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:
2005 Mar 18
4
NoMemoryError on "gem install rails"
Greetings all--
Humble newbie requesting help here. I''ve just installed Ruby 1.8.2, Rake
0.4.15, and RubyGems 0.8.8. When I try to get Rails into place via "gem
install rails," I get the error below. What have I done wrong? Can anybody
throw me a rope?
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
Attempting remote
2007 Feb 20
1
error message for record not found ?
I''m using backgroundrb for session management and deletion of visitor-entered information when a session is abandoned. The visitor can either click a button to end their session and remove their data, or backgroundrb will do it for them after 5 minutes of inactivity.
Everything''s working fine, I think. If the visitor explicitly logs out, then when the worker checks for their
2006 Aug 25
3
uninitialised constant LoginEngine
In my worker class, when i try to start the worker thread, it throws the
error:
uninitialized constant LoginEngine - (NameError)
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in
`const_missing''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:131:in
`const_missing''
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. However,
sometimes it
2007 Mar 18
3
"ö" causes find_by_contents not to return
I''ve installed ferret 0.10.9 together with the latest acts_as_ferret
using Windows XP and indexed 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
2007 Jul 18
10
Rails - Mock going out of scope?
Hello list,
I think I have a rails related RSpec problem with a mock going out of
scope on a recursive call to a model.
The code is at: http://pastie.textmate.org/79821 if you want to see it
highlighted. I have pasted it below as well.
Basically, I have an acts_as_nested_set model called "Node", which
works fine. I have a function which finds the language name of the
node instance.
2007 Apr 13
4
[Ferret] QueryParser memory leak bug (Joyent/OpenSolaris)
QueryParser fails badly allocating enormous amount of memory when
processing query strings with special/accented characters. See:
irb(main):002:0> require ''rubygems''
irb(main):003:0> require ''ferret''
irb(main):004:0> include Ferret
irb(main):005:0> index = Index::Index.new
irb(main):008:0> index << "something"
# Now the error
2005 Apr 16
2
[brian-DcfkaLM1YyUyJZ9hMiHtYPC9HSW9iNxf@public.gmane.org: WEBrick error]
Hello All--
I am brand new to Ruby on Rails. I have downloaded the most recent
stable versions. I do see the congrats page, but I am receiving an
error in WEBrick when connecting to my first page:
Rails application started on http://0.0.0.0:3000
[2005-04-15 19:34:59] INFO WEBrick 1.3.1
[2005-04-15 19:34:59] INFO ruby 1.8.2 (2004-12-25) [i686-linux]
[2005-04-15 19:34:59] INFO
2007 Apr 13
5
[Ferret] Serious memory leak on Joyent / TextDrive / Solaris
There is serious memory leak bug in ferret. I''m having this error on
TextDrive Container (aka. Joyent Accelerators) OpenSolaris with Ferret
0.11.4
It happens while searching for some terms with accented or special
characters.
This makes ferret to allocate lots of memory (usually reaching 3+ GB)
and failing if another query like this is executed.
Any ideas on that, could this be locale
2008 Jan 17
6
Problems with sqlserver 2000 and ActiveRecord
Hi,
I''m getting some trouble in connecting to a sql server 2000
database with ActiveRecord-2.0.1 and ruby 186-26, from
win XP.
Using the next conenction config:
ActiveRecord::Base.establish_connection(
:adapter => "sqlserver",
:database => "nombre_bd",
:username => "usu",
:password => "contra"
)
I have the next error:
2006 Aug 24
3
A new QueueWorker class
Hello all,
I''ve come up w/ a worker class that manages queued jobs using a fixed
number of child workers. Well, that''s not quite true -- a new worker is
spawned for each job, but you set the total number that may exist at once.
There are three components:
1) queue_worker.rb: The singleton worker that manages the child workers.
You probably want to auto start this. Make sure you
2006 Nov 08
14
Increased memory requirements on 1.2
I just recently upgraded a rails app of mine to run on edge (and the
1-2-pre-release branch) and I noticed my fcgis required roughly 6-8MBs
more memory after just a couple requests.
For example, each fcgi on edge would start around 40MB and rise to
~46MBs after a couple requests.
I downgraded my app back to 1.1.6 and each fcgi would start at around
33MBs and rise to ~38MB.
As a result of the
2007 Nov 12
0
Workers calling Workers
Hello,
We are working on a centralized report generating project, which calls
for data processing on different servers and then centralizes the
reports into a single project. What we would like to do is have a
Monitor BackgrounDRb worker call another BackgrounDRb worker to process
data on a different server, and then have our Monitor Worker collect the
data and then store it according to our
2007 Apr 23
0
backgroundrb and REXML issue
Hi,
I have an application that receives XML files, and then hands each one
off to a backgroundrb worker to parse and store the info. Everything
was working, until I needed to support a larger character set. So I
added the following to the top of my XML files: <?xml version="1.0"
encoding="ISO-8859-1"?>
Adding this worked fine when I tested it without using
2007 May 22
0
BackgroundRb Server not responding
Hey,
I have scheduled script that is not working very well. It will only run
once or twice before I have to restart the server to get it running again.
If I try to the worker manually after it has stopped exceuting the schedule
I get this in the server log:
20070522-07:33:36 (5030) Connection reset by peer - (DRb::DRbConnError)
20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:566:in
2007 Jan 23
0
Error while creating one worker from another
for some strange reason this error occours when i create one worker from
another BUT only when i derive worker class from Worker::Base instead or
Worker::RailsBase - when change it back it works fine, child worker can
have empty do_work, but this error still ocours
Bad file descriptor (Errno::EBADF)
/var/lib/gems/1.8/gems/slave-1.2.0/lib/slave.rb:214:in `for_fd''