Annett
A future version of IDB will allow some background garbage collection
to be configured. However, in the meantime, you could modify the
RmiJdbc code so that it calls java.lang.system.gc() periodically, say
by checking the amount of available memory within
RJStatementServer.executeQuery() (and similar) calls.
Pete
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C069B2.A5BA8640"
------_=_NextPart_001_01C069B2.A5BA8640
Content-Type: text/plain;
charset="iso-8859-1"
Hello,
I have some problems with the InstantDB.
I use Instant-DB 3.24beta3 and the RMI-driver (RmiJdbc 2.0) - both run.
I have a small program to test the database-login.
I notice that the CPU- and Memory-use by the RMIJDBC becomes extremly high.
The first entry "java exe" (PID 322) is RMIJDBC - see screenshot please:
<<tm-memory.gif>> <<tm-process.gif>>
The RMIJDBC shows also an error:
<<RMIError.txt>>
The result is that my application which runs with instant-DB notifies:
"OutOfMemoryException" and stops!
Have you any ideas for that problem?
I think it's caused by the RMIJDBC?
Have you already heard anything similar?
Thanks
Regards
Annett
------_=_NextPart_001_01C069B2.A5BA8640
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RMIJDBC-memory problem</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2 FACE=3D"Courier New">Hello,</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Courier New">I have some problems with the =
InstantDB.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">I use Instant-DB 3.24beta3 and =
the RMI-driver (RmiJdbc 2.0) - both run.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">I have a small program to test =
the database-login. </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">I notice that the CPU- and =
Memory-use by the RMIJDBC becomes extremly high.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">The first entry "java =
exe" (PID 322) is RMIJDBC - see screenshot please:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Courier New"></FONT><FONT FACE=3D"Arial" =
SIZE=3D2 COLOR=3D"#000000"> <<tm-memory.gif>> =
</FONT><FONT FACE=3D"Arial" SIZE=3D2 COLOR=3D"#000000"> =
<<tm-process.gif>> </FONT><FONT SIZE=3D2 FACE=3D"Courier =
New"> &=
nbsp; </FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Courier New">The RMIJDBC shows also an =
error:</FONT>
</P>
<P><FONT FACE=3D"Arial" SIZE=3D2 COLOR=3D"#000000"> =
<<RMIError.txt>> </FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Courier New">The result is that my =
application which runs with instant-DB notifies:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">"OutOfMemoryException" and stops!</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Courier New">Have you any ideas for that =
problem?</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">I think it's caused by the =
RMIJDBC?</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">Have you already heard anything =
similar?</FONT>
</P>
<BR>
<P><FONT SIZE=3D2 FACE=3D"Courier New">Thanks </FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Courier New">Regards</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">Annett</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C069B2.A5BA8640--
|