[AC-2678] Code Processor: Getting out of memory error
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Not Our Bug |
| Resolution Date | 2013-04-17T22:24:25.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | n/a |
| Reporter | Debasis Shee |
| Assignee | Shak Hossain |
| Created | 2013-04-15T16:52:17.000+0000 |
| Updated | 2016-03-08T07:41:47.000+0000 |
Description
I am getting this error "FATAL ERROR: JS Allocation failed - process out of memory" after running the following command of Titanium Code Processor.
C:\Users\sheed>titanium-code-processor analyze -o android -p ti-api-processor -p ti-api-deprecation-finder -p require-provider -d C:\Users\sheed\Documents\Titan
ium_Studio_Workspace\TRGYPMobileApp
Titanium Code Processor v0.3.2
Copyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved.
info: Analyzing project at "C:\Users\sheed\Documents\Titanium_Studio_Workspace\T
RGYPMobileApp"
FATAL ERROR: JS Allocation failed - process out of memory
node.js has a memory limit and the code processor does bump into it from time to time. The workaround is to increase the stack-size for node.js. This can be done manually by doing: node --stack-size=10000 /path/to/titanium-code-processor/bin/codeprocessor
Closing since no response from the reporter.