Skip to content

Rbbg Java out-of-heap-space error (potential cause: response_cache)

5 messages · Juan José Fernández García, John Laing, Alexandre CESARI +1 more

#
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
#
Dear all,

Does anyone have the RExcel 3.2.1.0 file? I tried to download from internet but I could only get a .tar file, which I don't know how to install.

Thanks very much

JJ
#
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:
1 day later
#
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: