File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes heap size problem with application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic

heap size problem with application

nitin varshney

Joined: Sep 17, 2008
Posts: 10
Hi All...,
I am making an web application in which i m sending ajax requests to my api methods in every 2 seconds for getting updates.
i am using a no. of maps and lists to retrive data.and i am using tomcat web sever.what the main problem is that i m facing heap size problem in some hours
after starting my application.
Actually my methods returns maps and lists and Garbage Collector is not able to remove them from memory rapidly.

please give me solution if anyone had worked on such type of application.....i am waiting for a right solution.........

thanks and regards

Nitin Varshney
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread, where you have answers already.
I agree. Here's the link:
subject: heap size problem with application
It's not a secret anymore!