wenchun / jsdoc-toolkit

Automatically exported from code.google.com/p/jsdoc-toolkit
0 stars 0 forks source link

jsdoc runs out of memory #211

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run JSDOC on a very large set of JS files
2. After processing the last file, it hangs for a while and then runs out
of memory
3. Memory was increased to 1.5GB

What version of the product are you using? On what operating system?
The latest: 2.1.0
Windows 2000

Please provide any additional information below.
-Xms1280M -Xmx1536M
JDK 1.5.0

Original issue reported on code.google.com by gboy...@gmail.com on 17 Mar 2009 at 10:57

GoogleCodeExporter commented 8 years ago
There isn't much that can be done about this I'm afraid, unfortunately JsDoc 
Toolkit needs to keep the entire 
parse object in memory at once due to the fact that you may be modifying the 
documentation for an object 
defined in file 1 somewhere in file 99.

The only thing I could suggest is to break the "very large set of JS files" up 
into a few smaller libraries, and 
document each of them separately, then create an HTML index linking to each one.

Original comment by micmath on 15 Apr 2009 at 2:55