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

2019-11-04 Thread Tomas Kalibera
On 11/3/19 1:05 PM, Viktor Gal wrote: ah yeah i forgot to mention. it’s the same, i.e. it’s not the byte code compilation that causes this behaviour but the preparation for lazy loading. R is not optimized for these cases (generated code, source file with >100,000 lines of code), but R has bi

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

2019-11-03 Thread Viktor Gal
ah yeah i forgot to mention. it’s the same, i.e. it’s not the byte code compilation that causes this behaviour but the preparation for lazy loading. cheers, viktor > On 3 Nov 2019, at 06:53, Uwe Ligges wrote: > > What happens if you disable byte code compilation? > > Best, > Uwe Ligges > > O

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

2019-11-03 Thread Uwe Ligges
What happens if you disable byte code compilation? Best, Uwe Ligges On 02.11.2019 19:37, Viktor Gal wrote: 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 (b

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://

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

[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