Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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........
Posted
Comments
[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

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.
 
Share this answer
 
Comments
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
http://stackoverflow.com/questions/8731840/maximum-call-stack-size-exceeded

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900