By Jeroen Borgers
Recently, I was called in by a company with a website in trouble. And because they make all their money on-line, it was evident that they really wanted to have the issue solved. The day I came in, the site had gone down about 5 times the last 24 hours. Because of this they got less traffic, which directly meant less revenue. The log files showed periods of long response times and OutOfMemoryErrors. Their questions were: Why do we get this behavior? and How do we fix it? My short answer turned out to be: because of too many loitering objects; and this can be fixed by not holding on to them in the HTTP session. (more…)
Tags: Continuity, garbage collection, HPJMeter, Java, jconsole, OutOfMemoryError, Performance, VisualVM
Filed under Java, Performance | 6 Comments »
In many JEE apps today, you almost cannot forgo XML. Whether it is in configuration, data structures or service interfaces, you will certainly use a number of XML files. In a recent project we had to deal with a number of external services which used an XML interface. Little did we know that we introduced a potential time-bomb in our application… (more…)
Tags: Eclipse, eclipse memory analyzer, Java, Maven, maven2, memory leak, OutOfMemoryError, XML
Filed under Java, Performance, Testing | 3 Comments »