[R-pkg-devel] install.R running out of memory

2019-11-02 Thread Viktor Gal
Hi, I’m developing an ML library that has R bindings… when installing the library with R CMD INSTALL the R process is running out of memory (50G+ ram) when doing: ** byte-compile and prepare package for lazy loading any ideas how i could debug this part of code, to figure out what is actually h

Re: [R-pkg-devel] install.R running out of memory

2019-11-02 Thread Dirk Eddelbuettel
Hi Viktor, On 2 November 2019 at 13:09, Viktor Gal wrote: | I’m developing an ML library that has R bindings… when installing the library with R CMD INSTALL the R process is running out of memory (50G+ ram) when doing: | ** byte-compile and prepare package for lazy loading | | any ideas how i

Re: [R-pkg-devel] install.R running out of memory

2019-11-02 Thread Viktor Gal
Hi Dirk, so the project is open source, you can reproduce the error yourself (but note it’ll take a long time to actually compile it). steps for reproducing: git clone https://github.com/shogun-toolbox/shogun.git cd shogun git checkout feature/shared_ptr mkdir build cd build cmake -DINTERFACE_R=O

Re: [R-pkg-devel] install.R running out of memory

2019-11-02 Thread Dirk Eddelbuettel
Hi Victor, On 2 November 2019 at 13:58, Viktor Gal wrote: | so the project is open source, you can reproduce the error yourself (but note it’ll take a long time to actually compile it). steps for reproducing: | git clone https://github.com/shogun-toolbox/shogun.git | cd shogun | git checkout fe

Re: [R-pkg-devel] install.R running out of memory

2019-11-02 Thread Viktor Gal
Hi Dirk, no worries, thnx for the feedback! cheers, viktor > On 2 Nov 2019, at 13:58, Viktor Gal wrote: > > Hi Dirk, > > so the project is open source, you can reproduce the error yourself (but note > it’ll take a long time to actually compile it). steps for reproducing: > git clone https://