You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "james strachan (JIRA)" <ji...@apache.org> on 2007/04/30 14:47:34 UTC

[jira] Commented: (AMQ-941) OutOfMemoryError in OpenWireFormat.

    [ https://issues.apache.org/activemq/browse/AMQ-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39073 ] 

james strachan commented on AMQ-941:
------------------------------------

There's not really a whole lot to go on with this issue. What was your heap? Did you try just increasing your heap? Am not even sure this is a bug

> OutOfMemoryError in OpenWireFormat.<init>
> -----------------------------------------
>
>                 Key: AMQ-941
>                 URL: https://issues.apache.org/activemq/browse/AMQ-941
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 4.1.0
>         Environment: linux, jdk1.6
>            Reporter: Kelly Campbell
>
> Exception in thread "ActiveMQ Transport Server: tcp://localhost:61616" java.lang.OutOfMemoryError: Java heap space
>         at org.apache.activemq.openwire.OpenWireFormat.<init>(OpenWireFormat.java:60)
>         at org.apache.activemq.openwire.OpenWireFormat.<init>(OpenWireFormat.java:65)
>         at org.apache.activemq.openwire.OpenWireFormatFactory.createWireFormat(OpenWireFormatFactory.java:58)
>         at org.apache.activemq.transport.tcp.TcpTransportServer.run(TcpTransportServer.java:164)
>         at java.lang.Thread.run(Thread.java:619)
> Java heap histogram (top 50 only):
> num   #instances    #bytes  class name
> --------------------------------------
>   1:       650    42603600  [Lorg.apache.activemq.command.DataStructure;
>   2:      7388     9818352  [B
>   3:     32554     3305656  <constMethodKlass>
>   4:     32554     2866464  <methodKlass>
>   5:     26761     2321496  [Ljava.util.HashMap$Entry;
>   6:     41208     1935824  <symbolKlass>
>   7:     26582     1605224  [Ljava.lang.Object;
>   8:     14316     1573672  [C
>   9:      2777     1528528  <constantPoolKlass>
>  10:     38976     1247232  edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap$Segment
>  11:      2777     1237080  <instanceKlassKlass>
>  12:     26731     1069240  java.util.HashMap
>  13:      2458      992592  <constantPoolCacheKlass>
>  14:     24395      780640  org.apache.activemq.filter.DestinationMapNode
>  15:     32011      768264  java.util.HashMap$Entry
>  16:     38976      651464  [Ledu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap$HashEntry;
>  17:     38984      623744  edu.emory.mathcs.backport.java.util.concurrent.locks.ReentrantLock$NonfairSync
>  18:     25303      607272  java.util.ArrayList
>  19:     23150      555600  java.lang.String
>  20:      3100      297600  java.lang.Class
>  21:      3536      266144  [I
>  22:        61      250832  [Lorg.apache.activemq.command.ConsumerId;
>  23:      3452      226136  [S
>  24:      4446      207928  [[I
>  25:      2436      194880  [Ledu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap$Segment;
>  26:      2436      116928  edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
>  27:       314      100480  <objArrayKlassKlass>
>  28:      3593       86232  edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap$HashEntry
>  29:       464       77952  org.apache.activemq.command.ActiveMQMessage
>  30:      2328       71616  [Ljava.lang.String;
>  31:      1453       69744  org.apache.activemq.command.ProducerId
>  32:      1434       68832  org.apache.activemq.management.CountStatisticImpl
>  33:      1645       65800  org.apache.activemq.command.SessionId
>  34:      1257       60336  org.apache.activemq.command.ActiveMQTempQueue
>  35:       658       52640  java.lang.reflect.Method
>  36:      3251       52016  edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicBoolean
>  37:      1235       49400  org.apache.activemq.command.ProducerInfo
>  38:      1928       46272  java.util.Hashtable$Entry
>  39:      1382       44224  java.lang.ref.SoftReference
>  40:       334       40080  java.net.SocksSocketImpl
>  41:       350       39200  java.lang.Thread
>  42:       647       36232  edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask
>  43:       853       34120  org.apache.activemq.command.MessageId
>  44:       526       33664  java.lang.reflect.Constructor
>  45:       323       33592  org.apache.activemq.broker.jmx.ManagedTransportConnection
>  46:      1365       32760  javax.management.ObjectName$Property
>  47:       322       30912  org.apache.activemq.transport.tcp.TcpTransport
>  48:      1196       28704  org.apache.activemq.state.ProducerState
>  49:       390       28080  org.apache.activemq.broker.region.IndirectMessageReference
>  50:       348       27840  [Ljava.lang.ThreadLocal$ThreadLocalMap$Entry;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.