The Oracle Parsers can't handle certain schemas and things either.  I've
had them crash and die.  I had to even setup an Oracle 9i Server to use
Xerces because the 9i server could not handle some valid schemas I was
parsing.

Wade

-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 21, 2003 9:27 AM
To: Tomcat Users List
Subject: RE: application eats up memory



Howdy,

>Any recommendations here?  They are a little pricy, and I would want to

>make sure I'm getting bang for my $$

I like OptimizeIt, found it WELL worth its price.  I think every
developer should have a profiler, be comfortable using it.

>various combinations (and numbers) of the following with the result 
>that the tomcat shuts down rather quickly, or fails to start at all due

>to lack of memory. (tomcat and apache are the only things running on 
>this box).

Whoa there... If tomcat can't start due to lack of memory, maybe the
problem is not in tomcat?  Maybe it's apache, or another process on your
server?

>## CATALINA_OPTS="-Djava.awt.headless=true -Xmx256m"
>## CATALINA_OPTS="$CATALINA_OPTS -XX:NewSize=64m -XX:MaxNewSize=64m" ##

>-Xms128m -Xmx256m -XX:NewSize=64m -XX:MaxNewSize=64m ## 
>JAVA_OPTS="-server"

Stick to JAVA_OPTS, rather than CATALINA_OPTS, for clarity.  
JAVA_OPTS='-Djava.awt.headless=true -Xmx256m' is valid, and I would
think should work for you, unless your application is really
resource-demanding.

>I can, and will!!  You guessed it, xmlparserv is a set of xml parsing 
>(sax and dom) tools.

If you can, I suggest you use Xerces (free, ships with tomcat), as I bet
it's much more recent, better performing than xmlparserv2.

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to