On Wed, May 9, 2012 at 2:07 PM, Jedrin <[email protected]> wrote:

>
>
>
>  I am not sure offhand how to stream the data, but gathered that the
> problem was from reading the
> file into memory
>


The default heapsize for the jvm is pretty small.  I believe you can pass
args to jvm when you start jruby

if you do something like -xmx1024m (Not sure that syntax is exactly
correct, but it's close) you might get enough.  Of course that depends on
the size of the file

-- 
Greg Akins
http://twitter.com/akinsgre

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to