Displaying 20 results from an estimated 500 matches similar to: "incorrect checksum for freed object?"
2006 Jun 06
1
Ampersand Crashes Ruby
I''m using acts_as_ferret and when I call Object.find_by_contents("A &
B"), Ruby dies with the following message:
^Cruby(5014,0xa000cf60) malloc: *** vm_allocate(size=1069056) failed
(error code=3)
ruby(5014,0xa000cf60) malloc: *** error: can''t allocate region
ruby(5014,0xa000cf60) malloc: *** set a breakpoint in szone_error to
debug
ruby(5014,0xa000cf60) malloc:
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 Nov 13
1
Memory allocation (PR#8304)
Full_Name: Hans Kestler
Version: 2.2.0
OS: 10.4.3
Submission from: (NULL) (84.156.184.101)
> sam1.out<-sam(raw1[,2:23],raw1.cl,B=0,rand=124)
We're doing 319770 complete permutations
Error: cannot allocate vector of size 575586 Kb
R(572,0xa000ed68) malloc: *** vm_allocate(size=589402112) failed (error code=3)
R(572,0xa000ed68) malloc: *** error: can't allocate region
2008 Jan 10
1
OS X binary: 32 or 64-bit?
Dear R Experts,
I am using R.app (the Mac OS X binary) for neuroimage analysis, so I
am loading in some large image files. I get the following error in the
middle of my script:
> source("3dLME.R")
Read 1 record
Read 1 record
Read 1 record
Read 1 record
Read 1 record
Error: cannot allocate vector of size 3.1 Gb
R(2081,0xa000d000) malloc: *** vm_allocate(size=3321675776) failed
(error
2006 Jan 08
0
uninitialized constant Test
I recently upgraded to Rails 1.0 and started a new project. I''ve
started writing some tests, but when I run rake, I just get the
following...
Amnesia:~/Development/Rails/pog shad$ rake
(in /Users/shad/Development/Rails/pog)
/usr/bin/ruby -Ilib:test
"/usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb"
"test/unit/pog_test.rb"
2008 Mar 21
1
Memory Problem
Dear all,
I am having a memory problem when analyzing a rather large data set with
nested factors in R.
The model is of the form X~A*B*(C/D/F) A,B,C,D,F being the independent
variables some of which are nested.
The problem occurs when using aov but also when using glm or lme.
In particular I get the following response,
Error: cannot allocate vector of size 1.6 Gb
R(311,0xa000d000) malloc: ***
2006 Jun 10
3
sparse matrix, rnorm, malloc
Hi,
I'm Sorry for any cross-posting. I've reviewed the archives and could
not find an exact answer to my question below.
I'm trying to generate very large sparse matrices (< 1% non-zero
entries per row). I have a sparse matrix function below which works
well until the row/col count exceeds 10,000. This is being run on a
machine with 32G memory:
sparse_matrix <-
2005 Nov 22
1
What? - 500 unless class Cart included
I have been struggling with a problem for a while, and now have a
workaround, but I want to understand if something is borked in my
config or if this is a bug.
Setup: Mac OS X 10.4.3; Ruby 1.8.2; Rails 0.14.3
Problem: When I create a brand new project, I get an HTTP 500 status.
If I add a Cart model, the 500 goes away:
$ rails test
create
create app/controllers
[etc]
2007 Oct 15
0
Inconsistent results between multi_search and find_by_contents (is "other" a reserved word?)
I have a Computer type and I''m trying to query agianst it. When I do
the query with find_by_contents, I get correct results. However, when
I query using multi_search, I get incorrect results.
I''m using the most recent version of Acts As Ferret and Ferret
This returns the correct results:
Computer.find_by_contents( "device_type:laptop AND os_type:other" )
This
2008 Apr 15
3
R memory issue for writing out the file
Hello, all,
First thanks in advance for helping me.
I am now handling a data frame, dimension 11095400 rows and 4 columns. It
seems work perfect in my MAC R (Mac Pro, Intel Chip with 4G RAM) until I was
trying to write this file out using the command:
write.table(all,file="~/Desktop/alex.lgen",sep="
",row.names=F,na="0",quote=F,col.names=F)
I got the error
2005 Nov 02
3
problems running rails on mac osx tiger (10.4.3)
Hi,
I''m newbie to rails, so please be gentle with me.
I got one of the new powerbooks that apple just released
last month (october 2005).
I installed rails using RubyGems
and also the installer for mac osx found
here
http://www.tonyarnold.com/articles/2005/08/10/rolling-with-ruby-on-rails-on-mac-os-x-tiger-for-beginners
everything seems to update and install fine.
But when I type
2005 Dec 30
8
WxRuby newbie Mac OS 10.4 install questions
Hi. Forgive me if I am asking questions that have already been
answered a million times,
but there doesn''t seem to be an easy way to search the wxruby-users
archives, so...
I tried to install wxruby for the Mac
by downloading the latest Mac package installer from
rubyforge.org/frs/download.php/1985/wxruby-0.6.0-osx-panther.dmg
and tried to run some of the wxruby-0.6.0/samples from the
2006 Feb 01
2
memory limit in aov
I want to do an unbalanced anova on 272,992 observations with 405
factors including 2-way interactions between 1 of these factors and
the other 404. After fitting only 11 factors and their interactions I
get error messages like:
Error: cannot allocate vector of size 1433066 Kb
R(365,0xa000ed68) malloc: *** vm_allocate(size=1467461632) failed
(error code=3)
R(365,0xa000ed68) malloc: ***
2007 Aug 23
4
scoring problem in acts_as_ferret
Hi,
I am using acts_as_ferret and have a problem with scoring. I would like
to organize it in such way that, if any of the searched terms fits, I
get 1.0 score as a result. I will explain it on the example.
I have in index:
a) "one two three four"
b) "one two three"
c) "one two"
d) "one"
When I search for "one" I would like to get 1.0 score for
2006 Jun 13
4
mysql gem not buidling on OSX 10.4.6
When I `sudo gem install mysql` I get the following:
--snip--
$ sudo gem install mysql
Attempting local installation of ''mysql''
Local gem file not found: mysql*.gem
Attempting remote installation of ''mysql''
Updating Gem source index for: http://gems.rubyforge.org
/usr/local/lib/ruby/1.8/yaml.rb:133: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24)
2006 May 31
5
Help with sorting arrays with objects in it
I have to build an array through both activerecord and also through a ferret
index.
I was hoping to find a way of sorting the array as i combine the two so
def advanced_search(search_text, store, format, sortby)
# find items in ferret index
items = Item.find_by_contents(search_text)
# and now find all the items from a certain store or category
items_from_sql = Item.find_by_sql("SELECT *
2006 Jul 10
11
Category Number Results returned
I am looking to have a number of categories populated from my results of
a search. For example, searching on "sport" would display all results
for sport. I want to also have a number of categories to refine the
documents down. So by clicking on the "Fishing" category or the
"Shooting" category, I would only see the results on sport around that
category.
Now for
2012 Oct 25
5
trying ti use a function in aggregate
Hi -I am using R v 2.13.0. I am trying to use the aggregate function to
calculate the percent at length for each Trip_id and CommonName. Here is a
small subset of the data.
Trip_id Vessel CommonName Length Count
1 230 Sunlight Shad,American 19 1
2 230 Sunlight Shad,American 20 1
3 230 Sunlight Shad,American 21
2006 Jul 09
3
acts_as_ferret.. what does it actually do?
Okay in this plea for help I''m going to repeat some of what i posted
before but with a larger amount of background info in the hope that i
can get a decent grip on ferret before it wriggles away..
Firstly, what does installing the acts_as_ferret plugin actually do? I
install it and add it to my model and then the index is automatically
generated and a few methods are added to it and
2006 Mar 18
16
fixrbconfig - does it work on intel macs?
I''m trying now to do "sudo fixrbconfig" in the terminal, and I get this:
/usr/lib/ruby/1.8/powerpc-darwin8.0/ruby.h does not exist. This
probably means you haven''t yet installed Xcode from the Tiger DVD. You
won''t be able to compile Ruby extensions without it. Please install it
then rerun this program.
I''m on an intel mac. Am I unable to use