 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Simon Guest
|
Posted: Fri Apr 22, 2005 9:00 pm Post subject: SilverStream server problems |
|
|
Hi,
We've been running one of our web systems using SilverStream.
We've had this system for about 4 years and very little code has
changed.
In the last 3 months the server has been going down and produces a
java.lang.OutOfMemoryError exception.
Has anyone got any explanation as to why this is happening when little
code has changed??
One idea is that one of the function allows users have been adding new
records for 4 years and we allow users to find those records and we
have now over 130,000 records.
The find function allows users to select a criteria to narrow the
number of records returned, but could it be they are returning too
many records from the database and could that be killing the server???
If anyone has any idea of what else could be causing this then I would
appreciate it.
Regards
Simon
|
|
| Back to top |
|
 |
John Guest
|
Posted: Sun Apr 24, 2005 1:51 pm Post subject: Re: SilverStream server problems |
|
|
Have you tried to retrieve all the results yourself and see if you can
crash the server?
If yes, and it didn't crash, chances are that the server and the client
are communicating
using ObjectInput/OutputStream the wrong way and the memory usage
increases very
fast (especially now that you have more records), and no memory is GC-ed
because
the references to objects are maintained by the stream controllers.
Simon wrote:
| Quote: | Hi,
We've been running one of our web systems using SilverStream.
We've had this system for about 4 years and very little code has
changed.
In the last 3 months the server has been going down and produces a
java.lang.OutOfMemoryError exception.
Has anyone got any explanation as to why this is happening when little
code has changed??
One idea is that one of the function allows users have been adding new
records for 4 years and we allow users to find those records and we
have now over 130,000 records.
The find function allows users to select a criteria to narrow the
number of records returned, but could it be they are returning too
many records from the database and could that be killing the server???
If anyone has any idea of what else could be causing this then I would
appreciate it.
Regards
Simon
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|