vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| using java 5.4 and web application Tomcat server 6 we run web application in AIX. it has 8 GB hard disk aplication stops frequently by throwing exception out of memory when processing some 10000 records.[ this happen only at the time of processing huge records] and create log files in tomcat bin directory. we try so many ways by increasing heap size for java virtual machine. in coding we have set null to string variables in finally block we shift to use stringbuffer in program. but it not work out. where we have made mistake? how we have to trouble shoot this problem? regards siva |
| |||
| On Apr 27, 10:22 am, a.sivakaminat...@gmail.com wrote: > using java 5.4 and web application Tomcat server 6 we run web > application in AIX. > > it has 8 GB hard disk > > aplication stops frequently by throwing exception out of memory when > processing some 10000 records.[ this happen only at the time of > processing huge records] > > and create log files in tomcat bin directory. > > we try so many ways > > by increasing heap size for java virtual machine. > > in coding we have set null to string variables in finally block > > we shift to use stringbuffer in program. > > but it not work out. > > where we have made mistake? > how we have to trouble shoot this problem? First off, whenever you want help on an error, give the actual error message. Check ulimit and paging space. --S |
| |||
| On Apr 27, 4:22 pm, a.sivakaminat...@gmail.com wrote: > using java 5.4 and web application Tomcat server 6 we run web > application in AIX. > how we have to trouble shoot this problem? > > regards > siva Configure your server so that it creates dump-files when crashing on out of memory. IBM provides tools to analyze the heap-dumps. Those will show you (well, you have to search) what objects your programmers did store in memory and forgot to release. Succes, Gerard |
| ||||
| you may be hitting bmaxdata i.e. > 256MB Check this out http://www.ibm.com/developerworks/ja...ix32.html#wq20 and this http://publib.boulder.ibm.com/infoce...tuning_aix.htm and this http://www.ibm.com/developerworks/es...aix4java1.html and this http://www.ibm.com/developerworks/es...Javaperf3.html HTH Mark Taylor |