MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.25.0 is available! For more information about this release, check out this topic.

    UNSOLVED HotWords Module - Exception when saying "Magic Mirror"

    Troubleshooting
    2
    3
    557
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      blee1997 last edited by

      Error message appears only when saying the key words to activate Google Assistant
      Error Message:

      Whoops! There was an uncaught exception...
      { Error: spawn ENOMEM
          at ChildProcess.spawn (internal/child_process.js:357:11)
          at spawn (child_process.js:540:9)
          at LPCM16.start (/home/pi/MagicMirror/modules/MMM-Hotword/components/lpcm16.js:101:15)
          at Class.startListening (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:217:14)
          at Class.activate (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:175:10)
          at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:72:16)
          at Socket.<anonymous> (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:113:11)
          at Socket.emit (events.js:182:13)
          at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12
          at process._tickCallback (internal/process/next_tick.js:61:11) errno: 'ENOMEM', code: 'ENOMEM', syscall: 'spawn' }
      

      I am running MagicMirror2 on a Raspberry Pi 3B+

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @blee1997 last edited by

        @blee1997
        Error means Memory shortage. If there is no memory issue from other modules, add afterRecordLimit:0 to your config for Hotword. (See the docs for configuration)

        B 1 Reply Last reply Reply Quote 1
        • B
          blee1997 @Guest last edited by

          @Sean I did a clean install of MM again, added AssistantMk2 and Hotwords. Then added the line to the Hotwords config and the error still occurs.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy