You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Patrick Duflot <pd...@gmail.com> on 2010/08/09 10:37:31 UTC

Re: Memory leak issue with Windows

I also noticed that axis simple http server is leaking memory, but if I run
the same axis service inside apache, it does no longer leak.


On Fri, Jul 30, 2010 at 6:25 PM, Nadir Amra <am...@us.ibm.com> wrote:

> Thomas,
>
> There are several JIRA issues regarding to memory leaks that still need to
> be fixed.  At least last time I looked.
>
> Nadir Amra
> Integrated Web Services for IBM i Operating System
> Internet: amra@us.ibm.com
>
> Thomas Auzinger <th...@auzinger.org> wrote on 07/30/2010 09:24:04 AM:
>
> > From: Thomas Auzinger <th...@auzinger.org>
> > To: Apache AXIS C User List <c-...@axis.apache.org>
> > Date: 07/30/2010 09:25 AM
> > Subject: Memory leak issue with Windows
> >
> > I'm now having a memory leak issue.  I created the skeleton code using:
> >
> > wsdl2c -d adb -s -u -ss -sd -uri algorithm.wsdl
> >
> > I added some business logic, but when I saw the memory leak I
> > removed it again, so now I'm not doing anything else than calling
> > the service from the Java client and catching the OM null exception.
> >  Nonetheless, for each call there are about 760 bytes that are added
> > to the memory footprint of axis2_http_server (watched from task manager).
> >
> > I noticed that the axis2_svc_skel_xxx.c file has two comments in
> > there for freeing soap headers, but no code.  Is this something that
> > needs to be done manually?:
> >
> >      /**
> >       * function to free any soap input headers
> >       */
> >
> >
> >      /**
> >       * function to free any soap output headers
> >       */
> >
> >
> > Has anyone else seen this before?  Is there something that I'm missing?
> >
> > Thanks,
> >
> > Thomas
>