rohitankushe wrote:
We are using Tomcat 5.5 and Hibernate with Java also we are using database postgres which contains more than 2 million records.
When we just simple wnts to display first coloum of a table which contain heavy data its goes out of memory.
We just new in HIbernate and dont know is hibernate is able to handle such a large databse.
If it can how we increse the performance of the program.
you can increase the performance of your program by assigning more heap space to java: add VM parameter -Xms=256m -Xmx=758m