I think more likely that is a symptom of the same problem. Increasing the
max channel size increases the size of the data structures that manage the
channels, in turn accelerating memory usage and the memory leak problem.

It appears one or more of these data structures isn't properly released
after being allocated. The design of the application may influence the
problem or make it worse, but I'm not sure as I do not know by which
mechanism APE considers a channel to be no longer needed.

On Fri, Nov 5, 2010 at 11:27 AM, Doug Molineux <[email protected]> wrote:

> I'm not sure if this is helpful or not, but I am using the GitHub
> version and we were having issues with the max channel name in main.h,
> we needed it to be larger than 40 characters. When we increased this
> to 1024, we noticed that the memory was used up much faster.
>
> Over a period of about 3 days we managed to get up to about 19% at
> which point the server seemed to stop opening new channels. We altered
> it to 100 and the memory was used up slower but we did eventually get
> to the same point. After moving it back to 40 characters, we have seem
> to have been running fine for about 6 days however, memory is up to
> 15.7 and slowly climbing.
>
> Perhaps this memory leak has something to do with the max channel name
> configuration?
>
>
> On Nov 4, 3:29 pm, Felix Filozov <[email protected]> wrote:
> > Here's some Valgrind output I capturedhttp://pastebin.com/uDcp43Xf
> >
> >
> >
> >
> >
> >
> >
> > On Thu, Nov 4, 2010 at 3:25 PM, Felix Filozov <[email protected]>
> wrote:
> > > I just used the Move demo to do a test on APE 1.0 and APE Git (latest
> APE
> > > in Git).
> >
> > > I had thousands of connection attempts to APE 1.0, and memory increased
> to
> > > 4MB and it stayed there even after all those connections were broken.
> >
> > > Similarly, I had thousands of connection attempts to APE Git, and
> memory
> > > increased to 2MB and it stayed there as well.
> >
> > > I don't know if memory is immediately deallocated, or later on. If the
> > > former, it doesn't seem to work.
> >
> > > On Thu, Nov 4, 2010 at 2:28 PM, Johnathan Leppert <
> > > [email protected]> wrote:
> >
> > >> What version are you running?
> >
> > >> On Thu, Nov 4, 2010 at 2:25 PM, Ecrofom <[email protected]> wrote:
> >
> > >>> I believe I'm experiencing the same thing. After about 24 hours, I
> > >>> noticed ape was using over 300MB of ram. This didn't happen before
> but
> > >>> I did change how I was using ape.
> >
> > >>> Before: The default standard setup as shown in the chat demo on your
> > >>> site. Memory usage was pretty much constant and low.
> >
> > >>> Currently: I'm having chat messages sent via inline push and now see
> > >>> memory usage by ape keep on growing. I have about 50-100 users online
> > >>> at any time with about 100-200 messages being sent via inline push
> > >>> every minute.
> >
> > >>> I dunno if this helps
> >
> > >>> --
> > >>> You received this message because you are subscribed to the Google
> > >>> Groups "APE Project" group.
> > >>> To post to this group, send email to [email protected]
> > >>> To unsubscribe from this group, send email to
> > >>> [email protected]<ape-project%[email protected]>
> <ape-project%2bunsubscr...@googlegr oups.com>
> > >>> For more options, visit this group at
> > >>>http://groups.google.com/group/ape-project?hl=en
> > >>> ---
> > >>> APE Project (Ajax Push Engine)
> > >>> Official website :http://www.ape-project.org/
> > >>> Git Hub :http://github.com/APE-Project/
> >
> > >>  --
> > >> You received this message because you are subscribed to the Google
> > >> Groups "APE Project" group.
> > >> To post to this group, send email to [email protected]
> > >> To unsubscribe from this group, send email to
> > >> [email protected]<ape-project%[email protected]>
> <ape-project%2bunsubscr...@googlegr oups.com>
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/ape-project?hl=en
> > >> ---
> > >> APE Project (Ajax Push Engine)
> > >> Official website :http://www.ape-project.org/
> > >> Git Hub :http://github.com/APE-Project/
>
> --
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<ape-project%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/
>

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to