continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brent N Atkinson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CONTINUUM-2758) High CPU and memory load when preparing builds with many build results
Date Thu, 30 Apr 2015 17:08:06 GMT
Brent N Atkinson created CONTINUUM-2758:
-------------------------------------------

             Summary: High CPU and memory load when preparing builds with many build results
                 Key: CONTINUUM-2758
                 URL: https://issues.apache.org/jira/browse/CONTINUUM-2758
             Project: Continuum
          Issue Type: Bug
    Affects Versions: 1.4.2
            Reporter: Brent N Atkinson
            Assignee: Brent N Atkinson
             Fix For: 1.5.0


Found while addressing CONTINUUM-1621, due to the way that Continuum find the previous build
results during build preparation, memory and CPU load increases proportionally to the number
of build results for a project. This will eventually result in 100% cpu utilization and {{OutOfMemoryErrors}}.

To produce this, I imported a project and replicated a set of build results until there were
over 1,000,000. When I restarted Continuum, the CPU and memory utilization (viewable using
jconsole) would spike until it threw and OOME.

By producing a heap dump and analyzing it, I was able to pinpoint the problem area, a bad
query in the DAO.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message