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

Analyzing jquery does not end. #14

Closed
sangwook-kim opened this issue Aug 25, 2011 · 4 comments
Closed

Analyzing jquery does not end. #14

sangwook-kim opened this issue Aug 25, 2011 · 4 comments

Comments

@sangwook-kim
Copy link

I'm not sure this issue is new one. It might be the same issue as issue #5.
If I'm doing wrong, please forgive me. It's my first day at github.

When I try jsctags where jquery-1.6.2.min.js,
It never ends. CPU goes up to 100%....

I've tried about 5 times, I got an error message only once. The other times, I got no message at all.
The error message I've got was......

Maximum call stack size exceeded

node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
RangeError: Maximum call stack size exceeded

So, is it possible to have more call stacks?

@dimvar
Copy link

dimvar commented Aug 26, 2011

Hi doovoochild,

This isn't the same issue as #5. DrJS hangs for some programs, including jquery, and we'll have to fix this at some point.

@ilya-biryukov
Copy link

Is there any plans on fixing this?
I'm really interested if this is an implementation issue(and jsctags will be able process large js files(e.g. >5k loc) in a few seconds some day) or the complexity of the underlying algorithm doesn't allows to make the tool practical for such large files?

@mx4492
Copy link

mx4492 commented Jul 30, 2012

As a workaround for the time being, the following patch adds a --ignore commandline option, so one can do

$ jsctags lib --ignore jquery

https://gist.github.com/3206510

@sangwook-kim
Copy link
Author

I guess mx4492's solution is good enough for now.

Thank you very much.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants