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

Alexander Efremov a.efremov at javasmith.org
Wed Nov 28 19:09:31 CET 2012


hello,

as always you should check the limit of file handles. soft and hard 
limit on linux box. On windowz I have no idea where to look for limit 
settings.

well, close all your windows applications and try again.

alexander

On 11/28/2012 03:39 PM, Gordon Morrison 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 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