[AC-1140] Hangs when json file is too big
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Cannot Reproduce |
Resolution Date | 2015-09-29T02:48:43.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio |
Labels | studio3 |
Reporter | abdelouahab |
Assignee | Shak Hossain |
Created | 2015-02-20T21:39:47.000+0000 |
Updated | 2016-03-08T07:37:30.000+0000 |
Description
When Opened a big json file, Titanium hangs and take lot of time to work, because it was analysing it, somthing like syntax check?! while is this needed for a json file?
I took a file to another editor, removed lot of lines, reformatted it, and now titanium is alerting me about errors?!
Attachments
The issue was from the validator, making the validator as 0 (infinite) will make a huge time to scan the file!
Hello, We tested your reported issue but could not reproduce it. Here is the details of our test case. Let us know if you continue to get the error. *Testing Environment:* Appcelerator Studio, build: 4.2.0.201508141038 Titanium SDK: 4.1.0 GA iOS simulator: iphone 5s(v8.1) OS X version: 10.9.5 *Steps to test:* 1. Create a classic project. 2. Place a json file in the project directory and name it test.json 3. Copy below test code and run the project *Test Case:*
Thanks.