Skip to content
This repository was archived by the owner on Feb 24, 2024. It is now read-only.
This repository was archived by the owner on Feb 24, 2024. It is now read-only.

Doesn't work on bigger projects #18

Description

@pizzergames

On Bigger Projects the stack quickly fills up.
Error message:
RangeError: Maximum call stack size exceeded
at readFile (C:\Users\Phil2207\AppData\Roaming\npm\node_modules\cpp-merge\lib\parse\utils.js:31:15)
at CppFileMerger.parseFile (C:\Users\Phil2207\AppData\Roaming\npm\node_modules\cpp-merge\lib\parse\CppFileMerger.js:46:50)
at CppFileMerger.parseIncludedFile (C:\Users\Phil2207\AppData\Roaming\npm\node_modules\cpp-merge\lib\parse\CppFileMerger.js:70:21)
at C:\Users\Phil2207\AppData\Roaming\npm\node_modules\cpp-merge\lib\parse\CppFileMerger.js:54:25
at Array.map ()
at CppFileMerger.parseFile (C:\Users\Phil2207\AppData\Roaming\npm\node_modules\cpp-merge\lib\parse\CppFileMerger.js:53:59)
at CppFileMerger.parseIncludedFile (C:\Users\Phil2207\AppData\Roaming\npm\node_modules\cpp-merge\lib\parse\CppFileMerger.js:70:21)
at C:\Users\Phil2207\AppData\Roaming\npm\node_modules\cpp-merge\lib\parse\CppFileMerger.js:54:25
at Array.map ()
at CppFileMerger.parseFile (C:\Users\Phil2207\AppData\Roaming\npm\node_modules\cpp-merge\lib\parse\CppFileMerger.js:53:59)

A Solution could be to store stuff not needed right away in temporairy files. That Might slow down the Program quite a bit though, since file operations are slow.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions