Without a bit of code to look at, providing you with hints/answers will be difficult. Would you be willing to provide us with a test case ?
Regards Werner Stevo Slavić wrote: > Hello all, > > It took Castor 10 minutes and 22 seconds to unmarshall 3835 occurrences > of element named "person" in an XML document with structure as in > following example: > > <persons> > <person> > <user> > <username>[EMAIL PROTECTED]</username> > <password>aPassword</password> > <enabled>true</enabled> > <activated>true</activated> > <activationCode>anActivationCode</activationCode> > </user> > </person> > <person> > ... > </person> > ... > </persons> > > > A "person" can also have a "profile" element which is more complex than > "user" element, while both "user" and "profile" are optional. XML > document that was unmarshalled for every "person" had only "user" as > subelements. It looks simple to me and I expected it to be unmarshalled > in far less time. Such my expectations were based on the fact that it > took 10 seconds on side that marshalled object tree into XML, but using > Axis 1. > > Castor (un)marshaller was not used directly but through Spring-OXM > module, all within a Spring framework based web application, deployed on > a laptop with Intel T7500 2.2GHz CPU and 4GB of memory, Vista x64 with > Java 6 VM and Tomcat 6 tweaked to take 1280MB of memory and use parallel > garbage collector. > > I'm looking for answers why it took Castor so long to complete, and how > should I tweak it to perform a lot better? Any suggestions are > appreciated. Thanks in advance! > > > Regards, > Stevo. > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

