We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Handling movie files in a post

  • #3226
    Avatar photo[anonymous]


    I’m using the “Photos (v.” theme for a gallery of photos and videos. This is being published to an internal server with no Internet access, so everything has to be served off the local server.

    The photos work great. The videos not so much. In Tool -> File Manager and add the video files. It seems I cannot reference them in a post using the image or the “media” buttons. When I “sync website”, it hangs at 90%.

    In poking through the log files, I see this line every time I publish:

    FATAL ERROR: invalid table size Allocation failed - JavaScript heap out of memory

    Any suggestions?


    Avatar photo[anonymous]

    And now I’m getting a new error. The movie file in question is 650MB mp4.

    Uncaught Exception:
    Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed
        at (internal/child_process.js:678:16)
        at IpcMainImpl.<anonymous> (/Applications/
        at IpcMainImpl.emit (events.js:210:5)
        at IpcMainImpl.EventEmitter.emit (domain.js:476:20)
        at WebContents.<anonymous> (electron/js2c/browser_init.js:3908:15)
        at WebContents.emit (events.js:210:5)
        at WebContents.EventEmitter.emit (domain.js:476:20)
        at WebContents.topLevelDomainCallback (domain.js:131:23)
    Avatar photo[anonymous]


    Could you check to test it with smaller video file? I suppose that the file is too big for the FTP library used in Publii (I assume that you are using FTP deployment).