New-Bee error message: Too many compiles - try back later ? #4160
Replies: 1 comment
-
Posted at 2014-08-29 by @gfwilliams I guess you've turned on minification? Try turning it off. My guess is the error message is from Google, who supply the online minifier. Posted at 2014-08-29 by user7114 I can't, it will put me over the JSVARS limit of 2250. "Out of memory" If you are depending on Google, who changes their mind every 5 seconds, then you are Posted at 2014-08-29 by DrAzzy v70 bigram should have 3250 jsvars, not 2250. Which file did you flash? I'll investigate. But that's besides the point. I'm... shocked that the WebIDE relies on an online service to minify the code - especially one that can decide to stop working because you're using it too much. That's awful. Posted at 2014-08-29 by @gfwilliams I use the closure compiler service because that's what I use for the modules (and it does a good job, including constant folding). Hence, if you make a module, minify it and it works, you can be sure that if you send a pull request with it, it'll still work. I've never hit any issues with it (and with restrictions on its use) - but then when you're minifying each time you send to Espruino I guess you use it an order of magnitude more. The code for the specific bit of the Web IDE is here: https://github.com/espruino/EspruinoWebIDE/blob/master/js/plugins/minify.js Pull requests welcome if someone wants to include an offline minifier :) It may be non-trivial with some minifiers though as you can't use Posted at 2014-08-29 by user7114
@drazzy - not to worry but "no offense" I could never make BigRam work consistently with my application. I used Gordon's v70 on Github for 2250 JSVARs.
Make that two. Posted at 2014-08-29 by DrAzzy Oooh yeah, you were the one who got the board that refused to work with Bigram (you did say in OP you were using bigram, so that's why I asked). Posted at 2014-10-22 by @gfwilliams Have added a bug for this now: espruino/EspruinoWebIDE#105 |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-08-29 by user7114
I hope this doesn't mean what it says? This is very annoying.
Windows 8.1 64 Bit
Chrome 35.0.1916.153 m (no beta)
Espruino 1v70 BigRam 2250 JSVARS
Web-IDE v 46
Board: Espruino v 1.3
Beta Was this translation helpful? Give feedback.
All reactions