[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: HELP HELP HELP - Invalid heap space using HTTPAPI



Julio,

The joblog indicates the error is within EXPAT. I am not sure if the version included in LIBHTTP is the latest. EXPAT looks to be stable with no releases since 2007 but you could check if there are newer versions. There are a few bug reports regarding memory leaks, but I didn't run across anything specific to your error (which appears to be a dealloc related error). 

If fixing EXPAT is not within your abilities...workarounds to consider.

1. Use native XML support to do the parsing.
2. Since you indicate a restart fixes...Build the process to restart the service every x emails.


> Mike:
> 
> It is happening once or twice a week in a program that read information
> from a file and write another file and is getting information about the
> member email using a module GETEMAIL which consume a Web service from a
> main server.It had happened also in other programs with different Web
> Services, but always when a large number of records are processed. With
> 2,000 or 3,000 records it do not happens.
> 
> El Web server en SOAPUI is attached as getEmail-request.txt and the
> answer
> as getEmailresponse.txt
> 
> Too many times yesterday was 45,720 times.
> 
> We have to cancel the process, see in what record happened and restart
> a
> new session from there.
> 
>
---------


Sorry Mike, the SOAPUI request is:

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:as4="http://services.intervalintl.com/schema/as400dataservice/as40
0DataMessages"
xmlns:head="http://services.intervalintl.com/schema/common/headerrq";>
   <soapenv:Header/>
   <soapenv:Body>
      <as4:GetEmailByMemberNumberRequest>
         <head:header As400CsrId="?" As400MemberType="?" 
            CountryCd="?" LanguageCd="?" 
            AgentServicingOfficeCd="?" TerminalId="?" 
            TransactionChannel="?" EchoToken="?" 
            TimeStamp="2010-11-19T10:10:10" 
            Target="Production" Version="0.1" 
            RetransmissionIndicator="1" MaxResponses="1111" 
            MoreDataEchoToken="?" SessionId="?" InteractionType="?"
InteractionUser="?" SkillClassCode="?" Dept="?">
            <!--1 to 2 repetitions:-->
            <head:Requestor Id="?" IdContext="?" Password="?"/>
         </head:header>
         <as4:MemberNumber>3040397</as4:MemberNumber>
         <as4:PrimaryContactOnlyInd>1</as4:PrimaryContactOnlyInd>
      </as4:GetEmailByMemberNumberRequest>
   </soapenv:Body>
</soapenv:Envelope>


    </ns21:GetEmailByMemberNumberResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns21:GetEmailByMemberNumberResponse xmlns:ns21="http://services.intervalintl.com/schema/as400dataservice/as400DataMessages"; xmlns:ns10="http://services.intervalintl.com/schema/common/promotioncommontype"; xmlns:ns11="http://services.intervalintl.com/schema/membershipservice"; xmlns:ns12="http://services.intervalintl.com/schema/enrollmentservice"; xmlns:ns13="http://services.intervalintl.com/schema/applicationfunctionmanager/applicationfunctionmessages"; xmlns:ns14="http://services.intervalintl.com/schema/contactmanager"; xmlns:ns15="http://services.intervalintl.com/schema/login"; xmlns:ns16="http://services.intervalintl.com/schema/referencedatamanager/referencedatamessages"; xmlns:ns17="http://services.intervalintl.com/schema/product"; xmlns:ns18="http://services.intervalintl.com/schema/solicitationmanager"; xmlns:ns19="http://services.intervalintl.com/schema/referencedatamodificationmanager/referencedatamodificationmessages"; xmlns:ns2="http://services.intervalintl.com/schema/common/intervalcommontypes"; xmlns:ns20="http://services.intervalintl.com/schema/cancellation"; xmlns:ns22="http://services.intervalintl.com/schema/renewal"; xmlns:ns23="http://services.intervalintl.com/schema/transactionbatchmanager"; xmlns:ns24="http://services.intervalintl.com/schema/promotionservice/common/headerrq"; xmlns:ns25="http://services.intervalintl.com/schema/promotionservice"; xmlns:ns26="http://services.intervalintl.com/schema/promotionservice/common/headerrs"; xmlns:ns27="http://services.intervalintl.com/schema/membershipmerchandise"; xmlns:ns28="http://services.intervalintl.com/schema/problemfiles"; xmlns:ns3="http://services.intervalintl.com/schema/common/errors"; xmlns:ns4="http://services.intervalintl.com/schema/referenceamortizationdeferalservice"; xmlns:ns5="http://services.intervalintl.com/schema/common/headerrq"; xmlns:ns6="http://services.intervalintl.com/schema/common/amortizationdeferalcommontypes"; xmlns:ns7="http://services.intervalintl.com/schema/common/headerrs"; xmlns:ns8="http://services.intervalintl.com/schema/verification"; xmlns:ns9="http://services.intervalintl.com/schema/checkout/checkoutmessages";>
         <ns7:header TimeStamp="2011-02-03T13:32:55.998-05:00"/>
         <ns21:ContactList>
            <ns21:Contact>
               <ns21:ContactId>6418279</ns21:ContactId>
               <ns21:PrimaryInd>true</ns21:PrimaryInd>
               <ns21:EmailList>
                  <ns21:EmailAddress>RHART73028@xxxxxxxxxxxx</ns21:EmailAddress>
               </ns21:EmailList>
            </ns21:Contact>
         </ns21:ContactList>
      </ns21:GetEmailByMemberNumberResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------