Hi Dave,
I have test cases for "the new Rhino one" (formally "JsDoc Toolkit")
that work fine on source files with over 10,000 lines of code (which
weighs in at about 200K) but beyond that, I admit, I haven't thought
to try -- a 1.4MB sized JavaScript file would be extremely unusual I
would think. Can you post it somewhere (maybe zipped) so that I can
include it in a future test case (obviously *don't* send the actual
file to the mailing list). I'd also be interested to know what memory
is available on your computer.
One possible option that may help you is JsDoc Toolkit's ability to
store it's documentation comments in a separate file from the source
code. Of course JsDoc Toolkit isn't yet stable (expect a 1.0 release
in July) and this option would require you to provide more explicit
information in your documentation comments, but if file size is a
concern it may be worth considering.
Regards,
Michael
On 6 May 2007, at 06:05, Dave Johnson wrote:
> Hey everyone,
>
> 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.
>
> Any ideas?
>
> btw I tried the new Rhino one but it died pretty quickly on me.
>
> Cheers,
> Dave
>
> ----------------------------------------------------------------------
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Jsdoc-user mailing list
> Jsd...@li...
> https://lists.sourceforge.net/lists/listinfo/jsdoc-user
|