File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,11 @@ To check one or more HTML documents from the command line:
3131
3232 java -jar ~/vnu.jar FILE.html FILE2.html FILE3.HTML FILE4.html...
3333
34+ ** Note:** If you get a ` StackOverflowError ` error when using the vnu.jar file,
35+ try adjusting the thread stack size by providing the ` -Xss ` option to java:
36+
37+ java -Xss512k -jar ~/vnu.jar FILE.html...
38+
3439To check all HTML documents in a particular directory:
3540
3641 java -jar ~/vnu.jar some-directory-name/
Original file line number Diff line number Diff line change @@ -43,6 +43,17 @@ <h2>Usage</h2>
4343 java -jar ~/vnu.jar FILE.html FILE2.html FILE3.HTML FILE4.html...
4444</ pre >
4545
46+ < div class =note >
47+ < p > < b > Note:</ b > If you get a < code > StackOverflowError</ code >
48+ error when using the vnu.jar file, try adjusting the thread stack size by
49+ providing the < code > -Xss</ code > option to java:</ p >
50+
51+ < pre >
52+ java < span class ="option-value "> -Xss512k</ span > -jar ~/vnu.jar FILE.html...
53+ </ pre >
54+
55+ </ div >
56+
4657< p > To check all HTML documents in a particular directory:
4758< pre >
4859 java -jar ~/vnu.jar some-directory-name/
@@ -199,6 +210,12 @@ <h4 id="version">--version</h4>
199210 margin-right : 2px ;
200211 border-radius : 6px ;
201212}
213+ .note {
214+ background-color : rgb (241 , 255 , 240 );
215+ }
216+ .note p {
217+ margin-top : 8px ;
218+ }
202219code {
203220 background-color : # F8F8F8 ;
204221 border : 1px solid # ccc ;
Original file line number Diff line number Diff line change @@ -49,6 +49,17 @@ <h2>Web-based usage</h2>
4949 that allows you to enter the URL of an HTML document and have the
5050 results for that document displayed in the browser.
5151
52+ < div class =note >
53+ < p > < b > Note:</ b > If you get a < code > StackOverflowError</ code >
54+ error when using the vnu.jar file, try adjusting the thread stack size by
55+ providing the < code > -Xss</ code > option to java:</ p >
56+
57+ < pre >
58+ java < span class ="option-value "> -Xss512k</ span > -cp ~/vnu.jar nu.validator.servlet.Main 8888
59+ </ pre >
60+
61+ </ div >
62+
5263 < section id =http-client >
5364 < h2 > HTTP client (for fast command-line checking)</ h2 >
5465
@@ -239,6 +250,12 @@ <h4 id="nuvalidatorclientasciiquotes">nu.validator.client.asciiquotes</h4>
239250 margin-right : 2px ;
240251 border-radius : 6px ;
241252}
253+ .note {
254+ background-color : rgb (241 , 255 , 240 );
255+ }
256+ .note p {
257+ margin-top : 8px ;
258+ }
242259code {
243260 background-color : # F8F8F8 ;
244261 border : 1px solid # ccc ;
You can’t perform that action at this time.
0 commit comments