Hello Guys, I am having strange problem. We have developed a application in Java Swing with Msaccess as backend.It runs smooth The problem comes, when anyone using this application for longer time, the time required to interact with the d/b interaction gets more & more. & consequently it takes more time than it would have done afresh. May I know the real problem of that? I understand as it could be of JDBC-ODBC connection or might be due to not finalization ie- garbage collection of objects used. Please help me out. Thanks
you could run the problem through a profiler. (JProfiler is nice, it's commercial, but you can download a free evaluation version that could help you a lot). through it you might find memory leaks. if you are running the program in an intranet environment with nfs-mounted home directories and you are using jdk 1.4. than your problem might be the result of the preferences bug in the jdk.copy the .java directory in your home to some place on the disc (not nfs mounted). c
posted 17 years ago
I am running this program under windows environment & using jdk1.3. Actually i have done one printing routine, in which it the array of data is produced from database query & then it is send to another class for proper structuring of data (placing data in grids). Is there any other problem, which might have arisen somehow?
Try the simplest first: Open the Windows Task Manager and see if your application is leaking memory (growing in memory size). Then, if it is, you should really try JProfiler (www.jprofiler.com). It's a very easy-to-set-up tool, and with it (or any other profiler) you can see which classes are responsible. Steffen
Steffen Foldager<p>Sun Certified Java Programmer<br />Sun Certified Web Component Developer
posted 17 years ago
Thanks. I will look into that part, what you have told me that in Windows Task Manager. I will also download the profiler & check it out. Thanks for suggesting solution.