pommedeterresautee / fastrtext

R wrapper for fastText
https://pommedeterresautee.github.io/fastrtext/
Other
101 stars 15 forks source link

This application has requested the Runtime to terminate it #39

Open Toniiiio opened 4 years ago

Toniiiio commented 4 years ago

I am running the unsupervised learning algorithm on

Its difficult to make a reproducible example, since data is confidential. I also made a test with dummy data, where the code did not fail with over 2m "text elements". But i am very willing to do my best, to make it more reproducible if possible.

Issue: When running the execute part of the code Rstudio crashes with:

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. terminate called recursively

Is this a known error?

What i tried:

Maybe there is a way to test the code easily outside R.


> sessionInfo()
R version 3.4.2 (2017-09-28)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows Server >= 2012 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                           LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_3.4.2 tools_3.4.2    packrat_0.5.0 

Hardware info:

grafik

pommedeterresautee commented 4 years ago

I had sometimes strange behaviour, each time not because of dataset size but few lines with encoding errors. Have tried to segment your dataset in parts and check each of them?

Toniiiio commented 4 years ago

Thank you so much for the fast response. I have made further analysis on the error:

Is it easy to extract the c++ code that is run? Then i could try to run without Rstudio and exclude it as a potential error source?