• Post Reply Bookmark Topic Watch Topic
  • New Topic

JProbe: Applying filter not to instrument .properties file

 
P Lavti
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am facing a meory leak in my web application. My requirement is to generate a report and display it in the HTML table. The report may have max of 1000 records and 400 fields. Fist time when i generate the report, it works fine, but second time and onwards i get heap memory error. I am suspecting some meory leak there.

I am using JProbe to trace the meory leak. Here the problem is I have my properties files also with java classes. So every time when do some operation, I get an error in the profiler saying can not instrument bundle.properties file.

At this time I can not change my design to keep properties file out of the source folder.
Is there any way to mention filter in .jpl file, not to instrument .properties files

Thanks
 
P Lavti
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please let me know if more information is required from my side for the above query...

Waiting for a reply...
 
steve souza
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probabably best to post your question on a jprobe forum if noone responds here. If you can post your code someone may be able to find a problem with it. You could also put some debug info in your code. For example log the free memory after different parts of your code are executed.
 
steve souza
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probabably best to post your question on a jprobe forum if noone responds here. If you can post your code someone may be able to find a problem with it. You could also put some debug info in your code. For example log the free memory after different parts of your code are executed.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!