Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-27235

IOS: Having "DEBUG=*" flag causes the appc run node process to fail due to "Javascript heap out of memory"

    Details

    • Type: Bug
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: Release 8.1.0, Release 8.2.0
    • Fix Version/s: None
    • Component/s: CLI, iOS
    • Labels:
      None
    • Environment:

      Description

      Steps to reproduce:

      1. Create a default classic app with the CLI using appc new.
      2. Make sure the tiapp.xml has 8.2.0 SDK. I used 8.2.0.v2019071001261 & 8.1.0.v20190709083308.
      3. From the terminal run DEBUG=* appc run -p ios -T simulator -l trace. I have used simulator here but I guess it does not matter.

      Actual results:

      1. With DEBUG=* flag we see a lot of babel logging as transpiling is always on and eventually the build fails due to node running out of heap memory causing Javascript heap out of memory.
      2. This does not affect runs without DEBUG=* flag which, directly does not affect out tooling. But, this flag is useful for looking at additional logging which is frequently used by us while testing & development.
      3. Building to an Android device/emulator is fine.

      Expected results:

      1. Build does not fail with Javascript heap out of memory when flag DEBUG=* is used.

        Attachments

          Activity

            People

            • Assignee:
              emerriman Eric Merriman
              Reporter:
              lchoudhary Lokesh Choudhary
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code