Heap consume

Post any question regarding setting up, running or configuring Verj.io Workflow

Moderators: Jon, Steve, Ian, Dave

JasonXiao
Ebase User
Posts: 5
Joined: Mon Apr 06, 2015 5:10 pm

Heap consume

#1

Postby JasonXiao » Tue Jun 07, 2016 2:05 pm

Our Ebase Xi 4.6 server always keep consume Heap memory till 8GB( which is the maximum on setting ), then the whole application stopped. Could you give some suggestions to improve?

JVM setting

Code: Select all

-Dcatalina.base=D:\ProjectD\ebaseXi\UfsServer\tomcat
-Dcatalina.home=D:\ProjectD\ebaseXi\UfsServer\tomcat
-Dderby.system.home=D:\ProjectD\ebaseXi\UfsServer\DB
-Djava.endorsed.dirs=D:\ProjectD\ebaseXi\UfsServer\tomcat\endorsed
-XX:PermSize=512m
-XX:MaxPermSize=1024m
-XX:+CMSClassUnloadingEnabled
-XX:+CMSPermGenSweepingEnabled
-XX:+UseConcMarkSweepGC
-Djava.io.tmpdir=D:\ProjectD\ebaseXi\UfsServer\tomcat\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=D:\ProjectD\ebaseXi\UfsServer\tomcat\conf\logging.properties
-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.port=9090
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Djava.rmi.server.hostname=localhost exit
-Xms6144m
-Xmx8192m 
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Tue Jun 07, 2016 3:44 pm

You have some quite large numbers e.g. 8Gb of heap memory, so it's a bit surprising that you're having problems. Here's a few comments:

1. There isn't an Ebase V4.6 release so I guess you have something a bit earlier than this. There was a bug in V4.5 which could lead to memory gradually increasing but it would typically take quite a long time to cause a problem e.g. a week or so. This problem was fixed quite recently in V4.5.5 so you may want to download this from our website http://www.ebasetech.com and see if it fixes your problem.

2. In V5.0 we have added a performance monitor which allows you to view memory metrics and it's proved very useful for debugging these problems. This monitor can also be installed in V4 - let me know if you're interested and I can create some instructions.

Which version of Java are you using?
Are you sure it's heap memory that is causing the problem - as opposed to permgen?
0 x

JasonXiao
Ebase User
Posts: 5
Joined: Mon Apr 06, 2015 5:10 pm

#3

Postby JasonXiao » Wed Jun 08, 2016 2:24 pm

Hello Jon,

Thank you very much for the quick reply!
I have seen that is the heap cause problem by using visualvm . Our JRE is version 7.

Is it possible I can migrate our application from V4.5.2 to V5?
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#4

Postby Jon » Wed Jun 08, 2016 2:54 pm

Yes it's possible to upgrade to V5 or to V4.5.5. The upgrade to V5 is a major upgrade and there are large changes, whereas the upgrade to V4.5.5 is relatively trivial.

You can access the upgrade files at http://www.ebaseftp.com/download. For the V4.5.5 upgrade, navigate to the service_packs folder.

Then follow the instructions.
0 x


Who is online

Users browsing this forum: No registered users and 1 guest