Git Product home page Git Product logo

Comments (3)

jaromf avatar jaromf commented on August 28, 2024

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.

mataddy avatar mataddy commented on August 28, 2024

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.

jaromf avatar jaromf commented on August 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.