Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-20-2009, 04:06 AM
Special Member
 
Posts: 107
Default zmstat-chart java.lang.OutOfMemoryError

I would like to generate advanced statistics with zmstat-chart. But the zmstat-chart utility abort operations at Reading CSV allprocs.csv with the following error.
Code:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:2734)
        at java.util.ArrayList.ensureCapacity(ArrayList.java:167)
        at java.util.ArrayList.add(ArrayList.java:351)
        at java.util.regex.Pattern.split(Pattern.java:1003)
        at java.util.regex.Pattern.split(Pattern.java:1059)
        at com.zimbra.common.util.CsvReader.hasNext(CsvReader.java:66)
        at com.zimbra.perf.chart.ChartUtil.readCsvFiles(ChartUtil.java:856)
        at com.zimbra.perf.chart.ChartUtil.doit(ChartUtil.java:342)
        at com.zimbra.perf.chart.ChartUtil.main(ChartUtil.java:308)
After some research, I have added -XX:-UseGCOverheadLimit to /opt/zimbra/bin/zmstat-chart at the exec line. Then zmstat-chart ends up with the same error, again at Reading CSV allprocs.csv, but it takes more time to run, of course.

Thanks in advance
jummo
Reply With Quote
  #2 (permalink)  
Old 01-02-2010, 01:09 AM
Trained Alumni
 
Posts: 25
Default

Bump. I have the same problem.

Quote:
Originally Posted by jummo View Post
I would like to generate advanced statistics with zmstat-chart. But the zmstat-chart utility abort operations at Reading CSV allprocs.csv with the following error.
Code:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:2734)
        at java.util.ArrayList.ensureCapacity(ArrayList.java:167)
        at java.util.ArrayList.add(ArrayList.java:351)
        at java.util.regex.Pattern.split(Pattern.java:1003)
        at java.util.regex.Pattern.split(Pattern.java:1059)
        at com.zimbra.common.util.CsvReader.hasNext(CsvReader.java:66)
        at com.zimbra.perf.chart.ChartUtil.readCsvFiles(ChartUtil.java:856)
        at com.zimbra.perf.chart.ChartUtil.doit(ChartUtil.java:342)
        at com.zimbra.perf.chart.ChartUtil.main(ChartUtil.java:308)
After some research, I have added -XX:-UseGCOverheadLimit to /opt/zimbra/bin/zmstat-chart at the exec line. Then zmstat-chart ends up with the same error, again at Reading CSV allprocs.csv, but it takes more time to run, of course.

Thanks in advance
jummo
Reply With Quote
  #3 (permalink)  
Old 02-04-2010, 05:55 AM
Special Member
 
Posts: 107
Default

See Bug 44496 – zmstat-chart error java.lang.OutOfMemoryError: Java heap space
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.