[R-SIG-Finance] java.lang.OutOfMemoryError: unable to create new native thread

Gordon Morrison Gordon.Morrison at ftse.com
Wed Nov 28 15:39:29 CET 2012


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}}



More information about the R-SIG-Finance mailing list