Welcome,
Guest
|
|
Hey All,
We currently have the premium version of Web2Cal, but we found out that it is causing a huge memory problem. When we open a page with the web2cal calendar it causes to eat up a chunk of memory around 600MB, which will cause a crashes on several systems. You can reproduce this on the following systems: - iPad (IOS 4) (immediate crash); - iPhone 4 (IOS 4) (immediate crash) - Windows XP in combination with Safari 5 (immediate crash when not enough memory); - Mac OS X 1.6 with Safari 5 (Takes a few refreshes to crash); I am not sure what part of the library is causing this (in combination with some rare Safari bug), but when I am looking at your compressed code I noticed you are using eval to load the entire library, can I ask, why??? You can reproduce this on your demo calenders on your own website asswel. Thanks in advanced for a solution. Grz, Stefan van Zanden |
Please Log in to join the conversation.
Last edit: by svzanden.
|
|
Your problem seems similar with mine. I\'am checking how to get the calTitle value to limit the php query only on the current month/week.
|
Please Log in to join the conversation. |
|
This issue is because of the obfuscator. Apparently, Safari\'s mysterious bug is unable to handle large lines of eval code. We are working on replacing ( Currenlty Testing ) the obfuscator. Should be out shortly. Will keep this thread posted.
Thank you |
Please Log in to join the conversation. |
|
Hey Alammm,
Not sure what you consider to be soon, since it\'s a month ago, did you manage to release a new version with the problems fixed? Also there is an IE9 problem asswel now, which I just posted in: www.web2cal.com/support/forum/2-develope...performance-problems I hope the fix with changing the obfuscator fixes this IE9 problem asswel. Grz, Stefan |
Please Log in to join the conversation. |
|
We have been trying a different build in our ultimate version for a while now. We have brought down the safari memory consumption from ~800 to ~150MB, which is quite a good improvement.
We are also constantly trying to reduce our file size which greatly affects memory consumption and load times. Please feel free to download the latest premium version. Let us know how this goes @ This email address is being protected from spambots. You need JavaScript enabled to view it. |
Please Log in to join the conversation. |
|
Hey Alammm,
Thats a good improvement, atleast it won\'t crash iphone / ipad I hope . However I just downloaded that V2.0-56 and dumped it to a sandbox environment, but there seems to be some kind of syntax error in the code, firefox / chrome provide the errors: Firefox: syntax error [Afbreken op deze fout] function MV(d,a,h,c,b,f,g){this.contai...,top:j.top+\"px\",left:j.left+\"px\"});}}; Web2Ca...-min.js (regel 12) getWindowBounds is not defined [Afbreken op deze fout] eval((function(x){var d=\"\";var p=0;whi...yle.display=\\\"none\\\";}`\\\"J==false;\")); Chrome: Uncaught SyntaxError: Unexpected token , Uncaught ReferenceError: getWindowBounds is not defined Web2Cal-2.0-min.js row 12 It also doesn\'t work in Opera / IE8 (all scripts are loaded correctly) For example open the \"Web2Cal-Premium-V2.0-56/php-examples/calendar.php\" Could you also confirm if this update fixes the IE9 performance problems provided in: web2cal.com/support/forum/2-developer-fo...performance-problems Thanks. |
Please Log in to join the conversation. |
|
Interesting... remember seeing this issue. I suspect, our server must have served you with some cached file. However, I have rebuilt, deleted and re-uploaded v2.0.56. Give it a try now.
I did verify, it works in all major browsers -A |
Please Log in to join the conversation. |
|
Hey Alammm,
Thanks, that version seems to work, I tested it in safari on the calendar.php example and it now only takes around 110MB. It also seems to be alot faster on IE9 altough I still have to wait 6 seconds before a response. When we will implement it (next 2 weeks) I will try using jquery 1.5.1, but atleast it is not a 40 second wait anymore . Grz, Stefan |
Please Log in to join the conversation. |