Giter Club home page Giter Club logo

Comments (2)

anickel101 avatar anickel101 commented on September 16, 2024

Hi, bumping this as I'm also having some major issues with the IDE. I get similar warnings to you when I start. When I run 'learn test', I pass (although for whatever reason, my "iLoveTheBeatles" function doesn't test). There seems to be a memory leak or something?

I can 'learn submit' just fine, but 'learn test' blows up.

Any advice?

// ♥ learn test

[email protected] test /home/anickel/js-beatles-loops-lab-bootcamp-prep-001
mocha -R mocha-multi --reporter-options spec=-,json=.results.json

(node:1168) DeprecationWarning: Configuration via mocha.opts is DEPRECATED and will be removed from a future version of Mocha. Use RC files or package.json instead.

theBeatlesPlay
✓ returns an array of strings containing what instruments each musician plays
johnLennonFacts
✓ returns an array of strings with exclamation points
✓ takes in any array of strings and returns a new array with exclamation points added to each element
iLoveTheBeatles

<--- Last few GCs --->

[1168:0x3331120] 3923 ms: Mark-sweep 607.1 (649.2) -> 607.1 (649.2) MB, 227.5 / 0.0 ms allocation failure GC in old space requested
[1168:0x3331120] 4165 ms: Mark-sweep 607.1 (649.2) -> 607.0 (614.2) MB, 242.6 / 0.0 ms last resort GC in old space requested
[1168:0x3331120] 4392 ms: Mark-sweep 607.0 (614.2) -> 607.0 (614.2) MB, 226.1 / 0.0 ms last resort GC in old space requested

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x27ad1aca5891
1: iLoveTheBeatles(aka iLoveTheBeatles) [about:blank:~27] [pc=0xf2f18140cda](this=0xd1e24022d1 ,num=7)
2: /* anonymous */ [/home/anickel/js-beatles-loops-lab-bootcamp-prep-001/test/index-test.js:29] [bytecode=0x75f4bfef1b1 offset=15](this=0x192cab3a3e11 )
3: callFn(aka callFn) [/home/anickel/js-beatles-loops-lab-bootcamp-prep-001/node_modules/m...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node::Abort() [node]
2: 0x8cd49c [node]
3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
5: v8::internal::Factory::NewUninitializedFixedArray(int) [node]
6: 0xd84573 [node]
7: v8::internal::Runtime_GrowArrayElements(int, v8::internal::Object**, v8::internal::Isolate*) [node]
8: 0xf2f17f842fd
Aborted (core dumped)
npm ERR! Test failed. See above for more details.
[15:54:42] (master) js-beatles-loops-lab-bootcamp-prep-001
// ♥ Traceback (most recent call last):
11: from /usr/local/rvm/gems/ruby-2.6.1/bin/ruby_executable_hooks:24:in<main>' 10: from /usr/local/rvm/gems/ruby-2.6.1/bin/ruby_executable_hooks:24:ineval'
9: from /usr/local/rvm/gems/ruby-2.6.1/bin/learn-test:23:in <main>' 8: from /usr/local/rvm/gems/ruby-2.6.1/bin/learn-test:23:in load'
7: from /usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/bin/learn-test:68:in <top (required)>' 6: from /usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/runner.rb:20:in run'
5: from /usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/runner.rb:20:in fork' 4: from /usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/runner.rb:21:in block in run'
3: from /usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/runner.rb:44:in report_and_clean' 2: from /usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/reporter.rb:13:in report'
1: from /usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/reporter.rb:47:in `report'
/usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/strategies/m

from js-beatles-loops-lab.

anickel101 avatar anickel101 commented on September 16, 2024

nvm. my code was...poor. Great learning moment though.

from js-beatles-loops-lab.

Related Issues (20)

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.