You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2001/08/27 13:22:13 UTC

[DO NOT REPLY: Bug 3277] New: StackOverflowError at org.apache.xerces.validators.common.Grammar.buildSyntaxTree(Grammar.java:856) or OutOfMemoryError building Syntax tree from large Schema-file(s)

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3277

*** shadow/3277	Mon Aug 27 04:22:12 2001
--- shadow/3277.tmp.26315	Mon Aug 27 04:22:13 2001
***************
*** 0 ****
--- 1,37 ----
+ +============================================================================+
+ | StackOverflowError at org.apache.xerces.validators.common.Grammar.buildSyn |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3277                        Product: Xerces-J                |
+ |       Status: NEW                         Version: 1.4.3                   |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority: Other                     Component: Other                   |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: xerces-j-dev@xml.apache.org                                  |
+ |  Reported By: schaefer@riege.de                                            |
+ +----------------------------------------------------------------------------+
+ |          URL: http://http://                                               |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ I tried to validate a small xml-file (931 bytes) against a set of xml schema 
+ files.
+ The schema file, includes other schemas.
+ The file size of all schemas (sum) is 324.330 bytes.
+ 
+ If necessary, I can send them for reproduction of this error.
+ 
+ 1.4.3 Xerces-J
+ Running the sax.SAX2Count (from xercesSamples.jar) WinNT4.0, 256 MB RAM
+ i got a StackOverflowError at 
+ org.apache.xerces.validators.common.Grammar.buildSyntaxTree(Grammar.java:856).
+ The java option -Xss didn't help.
+ 
+ I also reproduced this error on a Sun Ultra Sparc 400/Solaris 8, and PC/Win2k.
+ 
+ On Sun/Solaris:
+ 
+ java -Xss8192Kb -cp xercesSamples.jar:xerces.jar sax.SAX2Count -v xxx.xml
+ 
+ resulted in a java.lang.OutOfMemoryError.
+ 
+ pete

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org