copy the pointer of the base Server
config to the virtual config.
I guess the memory leak is because of this.
Do we have solution where we can use the base Server hast table in the virtual
host without any Memory Leak?
Thanks in advance, Jaysingh
> Subject: RE: Memory leaks on addin
Am Donnerstag, den 09.07.2009, 09:11 +0530 schrieb Jaysingh Samuel:
> In the command table we get the serverConfig pointer and store the
> value like the following.
> serverConf =
> ap_get_module_config(parms->server->module_config, &xyz_module);
>
> serverConf->abc = apr_pstrdup(parms->pool, a
ncreased on every graceful restart of the server.
Please let me know how to fix this.
Thanks in advance, Jaysingh
> Subject: RE: Memory leaks on adding module directives on virtual host.
> Date: Wed, 8 Jul 2009 16:00:33 -0400
> From: houser.r...@aoins.com
> To: modules-dev@httpd.apache.org;
umption?
Thanks,
Rick Houser
Auto-Owners Insurance
Systems Support
(517)703-2580
-Original Message-
From: Joachim Zobel [mailto:jzo...@heute-morgen.de]
Sent: Wednesday, July 08, 2009 3:46 PM
To: modules-dev@httpd.apache.org
Cc: Jaysingh Samuel
Subject: RE: Memory leaks on adding module dire
Am Mittwoch, den 08.07.2009, 12:50 +0530 schrieb Jaysingh Samuel:
> We do have Cleanup function which frees up all the malloc'ed memory
> space.
Why don't you simply use the APR configuration pool?
Sincerely,
Joachim
de me.
Thanks, Jaysingh.
> Date: Wed, 8 Jul 2009 09:05:42 +0200
> Subject: Re: Memory leaks on adding module directives on virtual host.
> From: sor...@gmail.com
> To: modules-dev@httpd.apache.org
>
> On Wed, Jul 8, 2009 at 08:48, Jaysingh
> Samuel wrote:
> >
> >
On Wed, Jul 8, 2009 at 08:48, Jaysingh
Samuel wrote:
>
> Hi all,
> Please help me out in this.
> I have Name based virtual host and i place lots of directives from which my
> modules takes input. Because of adding these directives i face memory leak..
> The httpd memory size gets increased on eve