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

Allocation error



   Dear Scott:


   I use your LIBHTTP in our company to get information from Web Services
   in the java side. Everything works ok, except that in a specific
   report that call 15000 times the program that consume the web service,
   at an specific record (12800) I am getting an space offset error. It
   look like is a memory allocation error. Can you maybe give me an idea
   of what could happen.

   If I answer the error with G the report continues until the end
   without any other error.



                  Display Module Source



    Program:   HTTPAPIR4      Library:   LIBHTTP        Module:
   HEADERR4

      3321       3320  * process
   them

      3322       3321 c                   if        hdrs <
   %elem(hdr)

      3323
   3322

      3324       3323 c                   eval      p_Header =
   xalloc(len)

      3325       3324 c                   eval      %subst(header:1:len)
   = val     

      3326       3325 c                   eval      hdrs = hdrs +
   1

      3327       3326 C     hdrs          occur
   hdr

      3328       3327 c                   eval      hdr_name =
   name

      3329       3328 c                   eval      hdr_idx =
   hdrs

      3330       3329 c                   eval      hdr_len =
   len

      3331       3330 c                   eval      hdr_ptr =
   p_header

      3332
   3331

      3333       3332 c                   endif

      3334
   3333

      3335       3334  * look for next
   header


     More...

    Debug . .
   .



    F3=End program   F6=Add/Clear breakpoint   F10=Step   F11=Display
   variable

    F12=Resume       F17=Watch variable   F18=Work with watch   F24=More
   keys

    Space offset X'00000000' or X'0000000000000000' is outside current
   limit ... +




                            Additional Message
   Information



    Message ID . . . . . . :   MCH0601       Severity . . . . . . . :
   40

    Message type . . . . . :
   Diagnostic

    Date sent  . . . . . . :   04/28/10      Time sent  . . . . . . :
   09:11:30



    Message . . . . :   Space offset X'00000000' or X'0000000000000000'
   is outside

      current limit for object
   &1.

    Cause . . . . . :   A program tried to set a space pointer, tried to
   use

      storage outside a space, or tried to use an unallocated page in
   teraspace.

      The space class is X'04'. The space class designates the type of
   space:

        00-primary associated space (includes space
   objects).

        01-secondary associated space 0.

        02-implicit process space for automatic
   storage.

        03-implicit process space for static storage in activation group
   mark

      X'0000000000000000'.

        04-implicit process space for heap identifier X'00000000' in
   activation

      group mark
   X'0000000000000000'.


     More...

    Press Enter to
   continue.


                            Additional Message
   Information



    Message ID . . . . . . :   MCH0601       Severity . . . . . . . :
   40

    Message type . . . . . :
   Diagnostic



        05-constant
   space.

        06-space for handle-based heap identifier
   X'00000000'.

        07-teraspace offset
   X'0000000000000000'.

        08-teraspace for i5/OS PASE memory address
   X'0000000000000000'.

        Offset X'00000000' only applies to storage outside
   teraspace.

      X'8000000000000000E41ADDF9D6001000' is a pointer to the teraspace
   page or

      the start of the implicit process space for the
   allocation.














      Bottom

    Press Enter to
   continue.

   ______________________________________________________________________
   _______
   Scanned by IBM Email Security Management Services powered by
   MessageLabs. For more information please visit http://www.ers.ibm.com
   ______________________________________________________________________
   _______
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------