I have a CMP entity bean mapped onto a database table containing 100
records, each record contains a primary key integer and a data field of
size 64Kbytes.
My client repeatedly finds a record chosen at random and gets the data
field. After about 90 records (i.e. about 6M of data) have been
retrieved I get the following exception from the EJBServer:
EntitySynchroImpl.beforeCompletion() : java.lang.OutOfMemoryError:
The EJBServer continues, however, and subsequently the retrievals
generate this exception intermittently. Sometimes the exception is
passed onto the client, other times the retrieval completes but takes
longer than normal (e.g. 10 seconds rather than 2).
In our project we will typically be throwing around large amounts of
data.
If I can do anything to provide more information please let me know.
BTW if I use java -Xmx to make a very large amount of memory available,
the exceptions don't occur (presumably the problem is delayed beyond the
limit of my testing), but occasionally the data retrieval takes up to 60
seconds. What's going on, is that just the garbage collector?
I'm using JDK1.2 on Linux i586 with no JIT compiler, as far as I know
there isn't one available.
Oh yes, I _am_ using Jonas 1.5
Thanks for reading
Jonathan
--
Jonathan Whitehead
Sema Group sae
[EMAIL PROTECTED]
(34) 91 440 8800 ext 7576
-----------------------------------------------------------------------------------------
Este mensaje es confidencial y ata�e exclusivamente a las personas a las que va
dirigido.
Cualquier opinion en el contenida, es exclusiva de su autor y no representa
necesariamente la opinion de Sema Group.
Si usted no es el destinatario de este mensaje, considerese advertido que lo ha
recibido
por error y que cualquier uso, difusion o copia estan terminantemente prohibidos.
Si ha recibido este mensaje por error, por favor comuniquelo a Sema Group sae al
numero +34 91 4408800.
This email is confidential and intended solely for the use of the individual to whom
it is addressed.
Any views or opinions presented are solely those of the author and do not necessarily
represent
those of Sema Group.
If you are not the intended recipient, be advised that you have received this email in
error
and that any use, dissemination, forwarding, printing, or copying of this email is
strictly prohibited.
If you have received this email in error please notify it to Sema Group sae by
telephone on number
+34 91 4408800.
-----------------------------------------------------------------------------------------
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".