I am having this problem occasionally as well.

Solution is either a gc() or restart of r terminal . I also notice that it
occurs when I am trying to open up fourth or fifth instance of the
connection without closing earlier ones.


On Thu, Nov 29, 2012 at 2:53 PM, Nick White <n-e-w@qtradr.net> wrote:

> Can you please clarify if this happens with a cold booted machine with
> nothing else but R and Bloomberg running -- or if you've already run
> other commands.
>
> On Nov 29, 2012, at 1:40, Gordon Morrison <Gordon.Morrison@ftse.com>
> wrote:
>
> > Hi
> >
> > I am having a problem connecting to Bloomberg.
> >
> > Here are the symptoms ....
> >
> >> library(Rbbg)
> > Loading required package: rJava
> >> conName <- blpConnect()
> > R version 2.15.0 (2012-03-30)
> > rJava Version 0.9-3
> > Rbbg Version 0.4-153
> > Java environment initialized successfully.
> > Looking for most recent blpapi3.jar file...
> > Adding C:\blp\API\APIv3\JavaAPI\v3.4.8.1\lib\blpapi3.jar to Java
> classpath
> > Error in .jnew("org/findata/blpwrapper/Connection", java.log.level) :
> >  java.lang.OutOfMemoryError: unable to create new native thread
> >
> >> sessionInfo()
> > R version 2.15.0 (2012-03-30)
> > Platform: i386-pc-mingw32/i386 (32-bit)
> >
> > locale:
> > [1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United
> Kingdom.1252
> > [3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C
> > [5] LC_TIME=English_United Kingdom.1252
> >
> > attached base packages:
> > [1] stats     graphics  grDevices utils     datasets  methods   base
> >
> > other attached packages:
> > [1] gdata_2.12.0 Rbbg_0.4-153 rJava_0.9-3
> >
> > loaded via a namespace (and not attached):
> > [1] gtools_2.7.0 tools_2.15.0
> >
> > I am running Java version "1.6.0_16"
> >
> > I can connect to Bloomberg via the API
> >
> > Does anyone have any ideas?
> >
> >
> > Gordon Morrison
> >
> >
> >
> > ______________________________________________________________________
> > This e-mail and any attachments may contain confidential...{{dropped:22}}
> >
> > _______________________________________________
> > R-SIG-Finance@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.
>
> _______________________________________________
> R-SIG-Finance@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.
>

	[[alternative HTML version deleted]]

