[R-SIG-Finance] Rbbg Java out-of-heap-space error (potential cause: response_cache)

Alexandre CESARI alexandre.cesari at gmail.com
Fri Jun 22 11:20:55 CEST 2012


John,

Thanks for the info. I tested a slightly different version and that
seems to work for me. I don't know much about the BBG api but what I
did was simply to store the last reponse rather than adding it into an
array. Given the code, I'm not sure that caching is all that useful.

Alexandre


On Wed, Jun 20, 2012 at 1:39 PM, John Laing <john.laing at gmail.com> wrote:
> Alexandre,
>
> The Java side of the Rbbg package caches all data responses during a
> session. That's probably what's responsible for the memory issues
> you're experiencing. This is a known bug that I haven't had a chance
> to fix, but if you'd like to submit a patch I would happily accept.
> The latest source is on my github at
> http://github.com/johnlaing/blpwrapper. (I assume the "old fork" you
> refer to is Jeff Davis's version, tweaked to work on Linux.)
>
> The findata.org site hosts Windows binaries, so you should not specify
> type = "source" from within R. This works just fine:
> install.packages("Rbbg", repos = "http://r.findata.org")
>
> -John
>
> On Wed, Jun 20, 2012 at 4:23 AM, Alexandre CESARI
> <alexandre.cesari at gmail.com> wrote:
>> Hi,
>>
>> I have been getting out of memory errors with RBloomberg and now Rbbg.
>> I'd like to manually fix the package but I cannot get my hand on the
>> source code, except on an old fork found on github. Could someone
>> point me where I can the latest source? Standard package download
>> within R with type source is not working and findata.org seems to be
>> dead following the package name change.
>>
>> Regards,
>>
>> Alexandre
>>
>> _______________________________________________
>> R-SIG-Finance at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
>> -- Subscriber-posting only. If you want to post, subscribe first.
>> -- Also note that this is not the r-help list where general R questions should go.



More information about the R-SIG-Finance mailing list