Re: [Jsdoc-user] Large files
Status: Inactive
Brought to you by:
mmathews
From: Gabriel R. <gab...@gm...> - 2007-05-06 15:53:08
|
> I am having a bit of trouble with large files in JSDoc. We have about > a 1.4MB js file and JSDoc just stops part way through with no message. > If we reduce the amount of code to about 800Kb it starts working > again. I also made sure it was not just one problematic function or > something like that. Although, I think it has been working in the past > with large files and has now stopped working so any suggestions would > be much appreciated. Hi Dave, This is (unless I'm terribly mistaken) a case of perl segfaulting; the segfaults seem to be directly related to the recursive regexes that are used within JSDoc. This all seems to be closely related to different builds of perl on different platforms. Unfortunately, I can't say any specific version of perl on a specific platform will definitely work. Another approach is messing around with the $RECURSION variable in JSDoc.pm, as detailed in FAQ #3 at <http://jsdoc.sourceforge.net/#faq>. Apart from that, there (unfortunately) doesn't seem to be a clear solution for this issue on all platforms. Regards, Gabriel |