My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1721: Fullcalendar potential memory leak
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Aug 2013


Sign in to add a comment
 
Reported by ml.richa...@gmail.com, Mar 4, 2013
Hello Adam,

I recently play a little bit with your Fullcalendar plugin and I noticed that there seemed to be a memory leak. When I reload the page where Fullcalender is initialized the memory usage of the process that support my application keep growing constantly until my system swap to death...

I read in your source file and found this at line 163 :

element.data('fullCalendar', calendar); // TODO: look into memory leak implications

I don't know if it related or not to the problem I had...

I report the problem here, because it was present in an app in the appliances library of web2py framework : https://groups.google.com/forum/?fromgroups=#!search/%5Bweb2py%5D%5Bappliances%5D$20mycal$20in$20AppointmentManager$20cause$20a$20memory$20leak/web2py/_TSmQBcY0Js/iv6pnLCg570J

I can help you troubleshoot the problem if you want.

I really need this feature in my app, so I could also reward you for the work...
Aug 23, 2013
Project Member #1 adamrs...@gmail.com
i'm pretty sure there is no memory leak there, as jQuery is pretty smart about managing data from the .data() calls. if you truly think there is a memory leak, can you try to dig deeper?  plz open another issue once you are sure what is going on.
Status: WontFix
Sep 17, 2013
#3 ml.richa...@gmail.com
I don't know if it could help, but I workaround the leak issue like this :

https://groups.google.com/d/msg/web2py/GQFIMbNmp_M/ZiRHLUQ_UAAJ

I think that by let FullCalendar consume a json data get in FullCalendar by
a different way than before (when I experiment memory leak).

Not sure if the web2py application have been fix now, but you can
investigate about this with the Appoinment Manager app here :

https://github.com/mdipierro/web2py-appliances/blob/master/AppointmentManager/views/default/mycal.html

That was the faulty page if I remember.


Hope it help.

Richard
Dec 29, 2013
#4 surffe...@gmail.com
Hello. I am also experiencing this issue. In my site, the 2 pages that contain the calendar end hunging the computer due to memory consumption. That happens after leaving the page open a while (maybe 1-2 hours). The calendar is not displaying many events, surely less than 10, and I still need to check if it has any issue when no events are displayed.

I am working on getting this issue solved, but if you can provide me with any hints on where to look, that would be really helpful.

Thaks in advance,
Moisés
Sign in to add a comment

Powered by Google Project Hosting