Menu
Welcome, Guest
Username: Password: Secret Key Remember me
Welcome to the Developer forum!
Get all your questions answered here. Learn to integrate calendar in your application.
  • Page:
  • 1
  • 2

TOPIC: Huge memory problem on devices using safari

Huge memory problem on devices using safari 8 years 9 months ago #385

  • svzanden
  • svzanden's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
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 or Create an account to join the conversation.

Last edit: by svzanden.

Re:Huge memory problem on devices using safari 8 years 9 months ago #386

  • superleon
  • superleon's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
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 or Create an account to join the conversation.

Re:Huge memory problem on devices using safari 8 years 9 months ago #387

  • svzanden
  • svzanden's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
Ah.. glad to hear I am not the only one having problems with it :).

Please Log in or Create an account to join the conversation.

Re:Huge memory problem on devices using safari 8 years 9 months ago #389

  • alammm
  • alammm's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
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 or Create an account to join the conversation.

Re:Huge memory problem on devices using safari 8 years 7 months ago #392

  • svzanden
  • svzanden's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
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 or Create an account to join the conversation.

Re:Huge memory problem on devices using safari 8 years 7 months ago #394

  • alammm
  • alammm's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
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 or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.210 seconds
Powered by Kunena Forum

LATEST IN FORUM

  • No posts to display.

ABOUT US