InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: RMIJDBC-memory problem


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 &quot;java =
exe&quot; (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">&nbsp; &lt;&lt;tm-memory.gif&gt;&gt; =
</FONT><FONT FACE=3D"Arial" SIZE=3D2 COLOR=3D"#000000"> =
&lt;&lt;tm-process.gif&gt;&gt; </FONT><FONT SIZE=3D2 FACE=3D"Courier =
New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&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"> =
&lt;&lt;RMIError.txt&gt;&gt; </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">&quot;OutOfMemoryException&quot; 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--