[SNMP4J] OutOfMemoryError in SNMP4J agent

Taoufik BEN EZZAHHAF b_taoufik at yahoo.com
Wed Mar 29 10:23:01 CEST 2006


Hi,

In fact I have been using SNMP4J 1.5.1 with a heap
size allocated to JVM of 512M... The exception is
thrown after 3 or 4 days. I used hpjmeter to profile
memory consumption and it seems that there is a lot of
residual objects (like int[][]...)
Now I passed to SNMP4J 1.7RC2 and till now seem to be
OK. What is jvmstat?
Thank you a lot for your answer.
Taoufik



--- Frank Fock <fock at agentpp.com> a écrit :

> Hi,
> 
> An OutOfMemory exception is normal only in rare
> cases ;-)
> That the exception happens in MessageDispatcherImpl
> is no proof for nothing.
> Have you checked the memory consumption with
> jvmstat?
> 
> Best regards,
> Frank
> 
> 
> Taoufik BEN EZZAHHAF wrote:
> > Hi all,
> > 
> > After being stressed a lot with resynchronisations
> and
> > pooling, the testAgent throws an
> outOfMemoryError...
> > and when i looked in logging traces i found an
> error
> > :"java.lang.OutOfMemoryError: Java heap space"
> that
> > happens in classe MessageDispatcherImpl.
> > 
> > Is it normal? can anyone say me what to do in
> order to
> > prevent this error?
> > 
> > Help please... it's really critical!
> > 
> > 
> > 	
> > 
> > 	
> > 		
> >
>
___________________________________________________________________________
> 
> > Nouveau : téléphonez moins cher avec Yahoo!
> Messenger ! Découvez les tarifs exceptionnels pour
> appeler la France et l'international.
> > Téléchargez sur http://fr.messenger.yahoo.com
> > _______________________________________________
> > SNMP4J mailing list
> > SNMP4J at agentpp.org
> > http://lists.agentpp.org/mailman/listinfo/snmp4j
> 
> -- 
> AGENT++
> http://www.agentpp.com
> http://www.mibexplorer.com
> http://www.mibdesigner.com
> 
> 



	

	
		
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com



More information about the SNMP4J mailing list