tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kotsiras, Alexandros" <>
Subject RE: IIS redirect
Date Fri, 28 Jul 2000 20:51:53 GMT
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0">
<TITLE>RE: IIS redirect</TITLE>

<P><FONT SIZE=2>I was having exactly the same memory usage problems with a DBservlet
that queries an Access Database via JDBC-ODBC bridge. </FONT></P>

<P><FONT SIZE=2>For every reload of the DbResults page i would see the memory
usage of java.exe on the WinNT Task manager go up by 1MB !!</FONT></P>

<P><FONT SIZE=2>It wouldn't take more than 15-20 requests to crash the server.</FONT>

<P><FONT SIZE=2>I found that the reason was the Sun JDBC-ODBC bridge. I tried
exactly the same Java source code with an identical set of tables in an Oracle Database and
the thin driver ( and everything was fine. </FONT></P>

<P><FONT SIZE=2>So i am currently using the infozoom Access driver without any
memory problems. </FONT>
<BR><FONT SIZE=2>It's a type 2 JDBC driver and does not require an ODBC DSN. </FONT>


<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Andy Barker [<A HREF=""></A>]</FONT>
<BR><FONT SIZE=2>Sent: Friday, July 28, 2000 11:13 AM</FONT>
<BR><FONT SIZE=2>To: ''</FONT>
<BR><FONT SIZE=2>Subject: IIS redirect</FONT>

<P><FONT SIZE=2>I had problems getting this to work yesterday, but I found the
problem.&nbsp; I</FONT>
<BR><FONT SIZE=2>was having problems with the file, and then
I realized the</FONT>
<BR><FONT SIZE=2>file had some garbage characters in it.&nbsp; Once I cleaned
up the file</FONT>
<BR><FONT SIZE=2>everything started working.</FONT>

<P><FONT SIZE=2>I was then able to follow the inprocess-howto instructions to
get the JVM</FONT>
<BR><FONT SIZE=2>loaded inproc with IIS.&nbsp; I am a little concerned now
about memory usage.&nbsp; I</FONT>
<BR><FONT SIZE=2>setup a simple servlet that queries my database.&nbsp; I
then did a test where I</FONT>
<BR><FONT SIZE=2>ran the servlet multiple times while I watched the memory usage.&nbsp;
The usage</FONT>
<BR><FONT SIZE=2>went up by at least a MEG every time I hit refresh on the browser,
<BR><FONT SIZE=2>then invoked the servlet.&nbsp; The memory usage continued
to climb until it got</FONT>
<BR><FONT SIZE=2>to around 45 MEG at which point it seemed to level off.&nbsp;
Will the JVM</FONT>
<BR><FONT SIZE=2>eventually reclaim this memory?&nbsp; Is this normal, or
should I be concerned?</FONT>

<P><FONT SIZE=2>Thanks,</FONT>
<BR><FONT SIZE=2>Andy Barker</FONT>


View raw message