Comments (3)
Here's the result of running 'gc(ARdj)`
gc(ARdj)
Garbage collection 15 = 12+0+3 (level 2) ...
26.9 Mbytes of cons cells used (53%)
7.6 Mbytes of vectors used (12%)
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 502063 26.9 944981 50.5 944981 50.5
Vcells 988437 7.6 8388608 64.0 1762250 13.5
BTW - running summary() on line 80 summary( glm(returns[2:n] ~ returns[1:(n-1)]) )
works fine and does not result in a crash
from bds.
hi @jaromf I can't replicate this error and it does indeed look like a memory issue. The memory that matters is the 8GB -- your working memory. Nothing in this file is big enough to fill that up so it must be that either (a) you have a bunch of other stuff in R using up working memory or (b) other applications are taking all the working memory. I'd suspect (a), so quit R studio and when you re-launch make sure that it is not loading any saved objects from previous sessions (i.e., make sure to not save your session).
from bds.
Hi @mataddy I tried clearing as much RAM as possible, but still run into the issue. I posted the topic on a related thread in Rstudio Community. Ultimately, I may need to use a computer with more RAM. I'm thinking about setting up a powerful desktop computer and accessing it remotely as needed. https://community.rstudio.com/t/rstudio-desktop-on-a-chromebook-without-crouton-using-new-linux-beta-option/17393/9
from bds.
Related Issues (16)
- Typos HOT 2
- eq: 2.22 subscript missing for y_i (digital edition, cannot confirm for printed) HOT 4
- BDS Errata HOT 3
- betas[,1:5] -> betas[1:5,] HOT 1
- Chapter 1 errata (as of O'Reilly has it online on March 14, 2020)
- further typos HOT 3
- code update for R 4.0 HOT 3
- Figure 5.3 appears to be total log revenue rather than average, conflicts with text; model uses mean(log(revenue)) rather than log(mean(revenue)) HOT 5
- oj.R line 8 levels(oj$brand) returns NULL
- BDS/examples/oj.R
- ALGORITHM 4 K-Fold OOS (semiconductor)
- BDS/examples/stocks.R - Dropped Records
- examples/semincoductors.r
- Broken url HOT 1
- Typos eq: 1.10 and Marginal Likelihood HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bds.