Hi there,

 can you give use some more informations like what java version etc.

Also if you receive "java.lang.OutOfMemoryError: PermGen space" you
need to higher the PermGen space which is done via:

-XX:MaxPermSize=256m

This hiher it to 265mb. The default is 64mb.

Bye,
Norman


2011/5/25 Nicola Salvemini <[email protected]>:
>
> Hello,
>
> I'm using James 3.0-M3 with maildir. Everything works fine for one or
> two days until I start having memory problems and I need to restart
> James.
> The problems begin with a long series of messages such as
>
> WARN  04:46:27,928 | org.apache.activemq.broker.jmx.ManagedRegionBroker
> | Failed to register MBean:
> org.apache.activemq:BrokerName=james,Type=Subscription,persistentMode=Non-Durable,destinationType=Queue,destinationName=spool,clientId=ID_alice-58445-1306246275420-4_1,consumerId=ID_alice-58445-1306246275420-3_1_22_4524
> WARN  04:46:27,928 | org.apache.activemq.broker.jmx.ManagedRegionBroker
> | Failed to register MBean:
> org.apache.activemq:BrokerName=james,Type=Subscription,persistentMode=Non-Durable,destinationType=Queue,destinationName=spool,clientId=ID_alice-58445-1306246275420-4_1,consumerId=ID_alice-58445-1306246275420-3_1_22_4524
> WARN  04:46:27,928 | org.apache.activemq.broker.jmx.ManagedRegionBroker
> | Failed to register MBean:
> org.apache.activemq:BrokerName=james,Type=Subscription,persistentMode=Non-Durable,destinationType=Queue,destinationName=spool,clientId=ID_alice-58445-1306246275420-4_1,consumerId=ID_alice-58445-1306246275420-3_1_22_4524
> WARN  04:46:27,928 | org.apache.activemq.broker.jmx.ManagedRegionBroker
> | Failed to register MBean:
> org.apache.activemq:BrokerName=james,Type=Subscription,persistentMode=Non-Durable,destinationType=Queue,destinationName=spool,clientId=ID_alice-58445-1306246275420-4_1,consumerId=ID_alice-58445-1306246275420-3_1_22_4524
>
> and then
>
> DEBUG 04:51:11,445 | james.smtpserver | Unable to process request
> java.lang.OutOfMemoryError: PermGen space
>
> The CPU usage is over 100% and my only alternative is to restart James.
> I tried to increase VM memory (at this time I have -Xms512m -Xmx1024m)
> but the problem keeps coming back.
> Does anyone have a suggestion to solve the problem?
> Thanks in advance,
>
>
> Nicola.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to