Click here to Skip to main content
15,217,213 members
Rate this:
Please Sign up or sign in to vote.
See more:
Dear all
In my javascript coding i got this error"Maximum call stack size exceeded" when loading...

What will be the problem.

Please give any solution........
[no name] 20-Jun-12 9:01am
Can you answer your question from the zero amount of information that you have given us?
bhagirathimfs 20-Jun-12 9:05am
Please share your code to give a better solution

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

It means that somewhere in your code, you are pushing items onto the stack without popping them off (probably because the code isn't finished with them), exhausting the stack limit.
This is generally the cause of recursive function with a condition that isn't being met.
vivekx2 20-Jun-12 9:14am
without popping means
bhagirathimfs 20-Jun-12 9:25am
Means without taking out from the stack.You are inserting elements into the stack but not taking out from the stack.So it goes to the maximum limit and showing these type of error
vivekx2 20-Jun-12 10:49am
How to get element from the Stack.
Please reply.
bhagirathimfs 20-Jun-12 13:16pm
Can you post your code here?
bhagirathimfs 20-Jun-12 13:19pm
This link may help you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100