enQA
2013-Jun-19 14:44 UTC
[Rails] Running RSpec tests, how can I resolve a “Curl::Err::OutOfMemoryError”?
Running an rspec test with ruby bindings for libcurl (with curb<https://github.com/taf2/curb>) like so: it "Should return a certain user in a JSON array" do $var = Curl::Easy.new("some-url.com") $var.perform response = JSON.parse($var.body_str) response[''user''].should eq(''some user name'') end and sometimes I get this error: Failure/Error: $var.perform Curl::Err::OutOfMemoryError: Curl::Err::OutOfMemoryError Anyone know how to resolve this? Thanks. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c53b281c-ef04-4038-a0f0-37172a4d709c%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Apparently Analagous Threads
- Installing Feedzirra (and Curl/Curb) on Windows Vista
- java.lang.OutOfMemoryError: PermGen space issue with Windows 2003 xVM domu with Tomcat
- Eror : OutOfMemoryError (Java): Java heap space
- rJava: java.lang.OutOfMemoryError
- select(): Interrupted system call from curb when stopping unicorn