performance - GRAILS 2, memory issues -
We have an application using Grails 2.0.1 and MongoDB and as our user base has increased and we have some Performed research, we have found that grails eat approximately 150 MB of RAM for each normal request, and when the RAM is about to reach the maximum, it does it to GC We have put singleton mode for controllers, and are non-functional for services. We use JRokit.
I should know whether this Grails can be considered normal for app or not. Our website is nothing more than the general website, there is no extra memory usage, just one user management system and code are okay.
Here are the plugins we are using:
app.grails.version = 2.0.1, app.servlet.version = 2.4, app.version = 0.1, Plugins.cache-header = 1.1.3, plugins.code-coverage = 1.2.5, plugins.codenarc = 0.12, plugins.crypto = 2.0, plugins.gsp-ass = 1.3 plugins.jaxrs = 0.6, plugins.mongodb = 1.0 .0.RC5, plugins.navigation = 1.2, plugins.quartz = 0.4.2, plugins.redis = 1.0.0.m9, plugins.rendering = 0.4.3, plugins.selenium = 0.8, plugins.selenium-rc = 1.0.2, plugins.spring-security-core = 1.2.7.2, plugins.springcache = 1.3.1, Plugins.svn = 1.0.1, plugins.tomcat = 2.0.1, plugins.ui-display = 1.2.2 < / Code>
On a Sun JDK, jvisualvm (or jrockit equivalent, if there is one, fire) Otherwise, give yourself a proper prof The Ilr who works with jrockit, attach your servers running, start profiler and analysis of the production is to consider where you'll have an idea.
Perhaps you are actually loading more information than backend storage but this is just an estimate.
Comments
Post a Comment