Moncader / rejs

Other
14 stars 1 forks source link

Maximum call stack size exceeded #3

Open Truemedia opened 9 years ago

Truemedia commented 9 years ago

rejs.js:552 function preProcessAST(pAST) { ^ RangeError: Maximum call stack size exceeded

Moncader commented 9 years ago

Thanks for the report. There are a couple bugs that need some squashing and I will add this to them. However I'll need some sample JavaScript code that will reproduce this error you are getting.

Would you mind attaching some in?

Truemedia commented 9 years ago

Yeh sure I'll post the stack of scripts I put together which triggered this error once I'm back in front of a computer.

Also this was inside a gulp plugin for your library created by someone else so I guess that could contribute to the error (I will test with the native library aswell).

Truemedia commented 9 years ago

Hi sorry for late response, this is happening for me with jquery and jquery validation plugin. I believe the latest versions. Tried with just those two files alone and causes the error.

Truemedia commented 9 years ago

Here's some more information if this helps. Was thinking it may be something to do with node or memory limits.

After doing a bit of research seems to be an issue in other intensive node libraries which apparently mite be resolved in a future version of node with something the node team are integrating to allocate memory more efficiently (can't remember the feature name). Tried with the latest stable node (0.10.33) and still got the same issue.

Also I am running this inside an ubuntu virtualbox with 512mb memory and on my windows machine directly via git bash and get same error.