From: Rob M. <Rob.Mew@NetBenefit.com> - 2003-11-28 13:37:18
|
Daear All I ran JProbe memory debugger over our appserver and the out of memory error coincided with an attempt to create an object at the registry (either a contact/domain) and a hello() cmd. The hello() polls the registry server at intervals to keep the connection open. Am I correct in thinking that because EPPClient.processAction() is not synchronized then if more than one thread enters the method we may get unpredicatable behaviour? Access to EPPClient is via a singleton class. I altered the rtk and made EPPClient.processAction() synchronized. I'm currently testing but the error has not re-ocurred so far . There will be a performance trade-off but is my logic correct? Cheers Rob > -----Original Message----- > From: Rob Mew > Sent: 10 September 2003 16:30 > To: epp...@li... > Subject: [Epp-rtk-devel] java.lang.OutOfMemoryError > > > dear all > > we are using the epp-rtk-java-0.7.0 release of the rtk > running on solaris, > jdk 1.3.1. we hava a thread that runs in the background that sends a > hello() to the server every few mins to keep the connection > alive. this > method works fine for .info, .biz, .cn and .us but for .org > we are currently > experiencing the following > java.lang.OutOfMemoryError > <<no stack trace available>> > > has anyone else had this type of problem or can come up with any > suggestions. > > cheers > > rob > > _____________________________________________________ > R o b M e w > Senior Java Developer, NetNames > T: +44 (0)20 7549 5388 > F: +44 (0)20 7549 5298 > Part of NetBenefit plc > > NetNames Platinum Service provides complete peace of mind for > corporates and > IP professionals. > To find out how, visit www.netnames.com > _____________________________________________________ > "The information in this Internet E-Mail is confidential and > may be legally > privileged. It is intended solely for the addressee. Access > to this Internet > E-Mail by anyone else is unauthorised. If you are not the intended > recipient, any disclosure, copying, distribution or any > action taken or > omitted to be taken in reliance on it, is prohibited and may > be unlawful." > > > This email has been scanned for viruses by NetBenefit using > Sophos anti-virus technology > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Epp-rtk-devel mailing list > Epp...@li... > https://lists.sourceforge.net/lists/listinfo/epp-rtk-devel > This email has been scanned for viruses by NetBenefit using Sophos anti-virus technology |