Maximum pbx stack exceeded

I am getting this when I have lots of includes of contexts. The thing is that, I put different customers to different contexts

How many no of contexts you are using …

about 1000++

Time for a clean up or a re-write…

is there anyway to increase the limit? What does it do anyway?

I have never seen this error before so I can not comment on it. Why don’t you try the asterisk users list. Also what do you get when you run “free” on the box ? How much memory is in there ?

I have 2G of memory

What happens when you run the free command ?

This only happens when I have lots of contexts being included, so I just did some work around on it. Thanks for all who helped!