For eclipse, I would use the http://jettylauncher.sourceforge.net plugin. Configuration is pretty simple and this will allow you to run the app in debug mode. (allowing you to see what code is being executed to spike in such a weird way )
On 6/22/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:
I am going to review the way I am using DBCP. I think I may be leaking connections somewhere. But then again that doesn't explain the spikes in cpu usage. I it were leaks the system would gradually become slower. As for your questions, I only retrieve text from the db via mysql stored procedures - no images, nothing heavy. On 6/22/06, Michael Echerer <[EMAIL PROTECTED]> wrote: > > Rui Pacheco wrote: > Hi, > > Hi all > > > Looks like a problem with your application code. What does it do? > You mentioned a DB. Working with large blobs (images?) that get > processed? Is the problem depending on the amount of data processed or > in the DB? > Do you create your own threads or background tasks? > > > > My laptop has no problem running other Java applications for as long as > I > > need them, like JEdit and Aquadata Studio. The development server used > to > > have a JSP based website that also worked withouth a problem, except for > > the > > common developer mistakes. > > > Actually you should try to get a profiler. Most likely you'll find a > piece of code that looks perfectly fine first, but isn't. > > Of course you can also try some garbage collector logging to make sure > that it's not just the GC working all the time. > > http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html > -Xloggc:<file> > > Cheers, > Michael > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Cumprimentos, Rui Pacheco
-- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind.