Hi all,
I’m new using jruby and celerity, I was trying to run my script in
background with 100 user threads. If I ran the script with 10 users I
will
get the results that I want, but when I tried to execute the same script
with more than 10 threads I’m getting the following error, can someone
help
me with this error.
I running the script in a macbook pro with 2gb
/Users/moisessiles/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require': IO error -- /Users/moisessiles/jruby-1.4.0/lib/ruby/gems/1.8/gems/celerity-0.7.9/lib/celerity/htmlunit/commons-io-1.4 (LoadError) from /Users/moisessiles/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require’
from
/Users/moisessiles/jruby-1.4.0/lib/ruby/gems/1.8/gems/celerity-0.7.9/lib/celerity/htmlunit.rb:3
from
/Users/moisessiles/jruby-1.4.0/lib/ruby/gems/1.8/gems/celerity-0.7.9/lib/celerity/htmlunit.rb:3:in
each' from /Users/moisessiles/jruby-1.4.0/lib/ruby/gems/1.8/gems/celerity-0.7.9/lib/celerity/htmlunit.rb:3 from /Users/moisessiles/jruby-1.4.0/lib/ruby/gems/1.8/gems/celerity-0.7.9/lib/celerity/htmlunit.rb:31:in
require’
from
/Users/moisessiles/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require' from /Users/moisessiles/jruby-1.4.0/lib/ruby/gems/1.8/gems/celerity-0.7.9/lib/celerity.rb:36 from /Users/moisessiles/jruby-1.4.0/lib/ruby/gems/1.8/gems/celerity-0.7.9/lib/celerity.rb:36:in
require’
from
/Users/moisessiles/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`require’
from /Users/moisessiles/Desktop/Ruby and Watir/busqueda_vuelos.rb:3
Thread 10
Error: Your application used more memory than the safety cap of 500m.
Specify -J-Xmx####m to increase it (#### = cap size in MB).
Specify -w for full OutOfMemoryError stack trace