VSTS SOunarCloud Analysis OutOfMemoryError: Java heap space

I have a Javascroipt analysis running in VSTS and one of the files in particular is quire large. 7MB and 167,108 lines long. during the analysis of the file, the java analysis fails. the logs are below. is this a bug or is there an option i can pass in the VSTS task that may fix the issue?

2018-10-23T16:08:14.4178651Z INFO: 8 source files to be analyzed

2018-10-23T16:08:15.8683768Z ##[error]WARN: Metric 'comment_lines_data' is deprecated. Provided value is ignored.

2018-10-23T16:08:15.8684362Z WARN: Metric 'comment_lines_data' is deprecated. Provided value is ignored.

2018-10-23T16:08:24.4137692Z INFO: 4/8 files analyzed, current file: dist/vendor.js

2018-10-23T16:08:34.7211889Z INFO: 4/8 files analyzed, current file: dist/vendor.js

2018-10-23T16:08:40.8201614Z ##[error]Exception in thread "CLEANUP_MANAGER" Exception in thread "CHECKPOINT_WRITER"

2018-10-23T16:08:40.8202369Z ##[error]java.lang.OutOfMemoryError: Java heap space

2018-10-23T16:08:40.8202676Z java.lang.OutOfMemoryError: Java heap space

2018-10-23T16:08:40.8202997Z ##[error]at java.util.HashMap$Values.iterator(HashMap.java:968)

2018-10-23T16:08:40.8203335Z at java.util.HashMap$Values.iterator(HashMap.java:968)

2018-10-23T16:08:40.8203950Z ##[error]at com.persistit.Persistit.earliestDirtyTimestamp(Persistit.java:1439)

at com.persistit.CheckpointManager.pollFlushCheckpoint(CheckpointManager.java:271)

at com.persistit.CheckpointManager.runTask(CheckpointManager.java:301)

at com.persistit.IOTaskRunnable.run(IOTaskRunnable.java:144)

at java.lang.Thread.run(Thread.java:748)

2018-10-23T16:08:40.8204500Z at com.persistit.Persistit.earliestDirtyTimestamp(Persistit.java:1439)

2018-10-23T16:08:40.8205371Z at com.persistit.CheckpointManager.pollFlushCheckpoint(CheckpointManager.java:271)

2018-10-23T16:08:40.8205552Z at com.persistit.CheckpointManager.runTask(CheckpointManager.java:301)

2018-10-23T16:08:40.8205719Z at com.persistit.IOTaskRunnable.run(IOTaskRunnable.java:144)

2018-10-23T16:08:40.8205876Z at java.lang.Thread.run(Thread.java:748)

2018-10-23T16:08:40.8206252Z ##[error]java.lang.OutOfMemoryError: Java heap space

at java.util.HashSet.<init>(HashSet.java:119)

2018-10-23T16:08:40.8206730Z java.lang.OutOfMemoryError: Java heap space

2018-10-23T16:08:40.8206890Z at java.util.HashSet.<init>(HashSet.java:119)

2018-10-23T16:08:40.8207536Z ##[error]at com.persistit.Persistit.closeZombieTransactions(Persistit.java:1706)

at com.persistit.Persistit.cleanup(Persistit.java:1529)

at com.persistit.CleanupManager.poll(CleanupManager.java:157)

at com.persistit.CleanupManager.runTask(CleanupManager.java:88)

at com.persistit.IOTaskRunnable.run(IOTaskRunnable.java:144)

at java.lang.Thread.run(Thread.java:748)

2018-10-23T16:08:40.8208048Z at com.persistit.Persistit.closeZombieTransactions(Persistit.java:1706)

2018-10-23T16:08:40.8208219Z at com.persistit.Persistit.cleanup(Persistit.java:1529)

2018-10-23T16:08:40.8208383Z at com.persistit.CleanupManager.poll(CleanupManager.java:157)

2018-10-23T16:08:40.8208557Z at com.persistit.CleanupManager.runTask(CleanupManager.java:88)

2018-10-23T16:08:40.8208731Z at com.persistit.IOTaskRunnable.run(IOTaskRunnable.java:144)

2018-10-23T16:08:40.8208892Z at java.lang.Thread.run(Thread.java:748)

2018-10-23T16:08:40.8484591Z INFO: ------------------------------------------------------------------------

2018-10-23T16:08:40.8484984Z INFO: EXECUTION FAILURE

2018-10-23T16:08:40.8485202Z INFO: ------------------------------------------------------------------------

2018-10-23T16:08:40.8485500Z INFO: Total time: 50.093s

2018-10-23T16:08:40.9070904Z INFO: Final Memory: 12M/247M

2018-10-23T16:08:40.9071194Z INFO: ------------------------------------------------------------------------

2018-10-23T16:08:40.9071942Z ##[error]ERROR: Error during SonarQube Scanner execution

ERROR: Java heap space

ERROR:

ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.

2018-10-23T16:08:40.9072502Z ERROR: Error during SonarQube Scanner execution

2018-10-23T16:08:40.9072659Z ERROR: Java heap space

2018-10-23T16:08:40.9072789Z ERROR:

2018-10-23T16:08:40.9072953Z ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.

I suggest that you exclude this huge dist/vendor.js JS file from the analysis using file exclusions.