Re: [OpenLayers-Users] OL and browser cache
Hi, On May 12, 2010, at 17:54 , Jimmy Aumard wrote: Hi everyone, I want to know if it's possible to control what is caching by the browser. It's possible to free cache (memory) of OL ? Because when I use for a long time my application firefox take 600 000 KO of memory This can be caused by memory leaks. But in most cases it is just because a debugger (e.g. Firebug) is active when running the application. You should run your application without a debugger active, and if the memory footprint still increases, it is likely because of memory leaks (which can be in your application, but also OpenLayers is known to have some). Regards, Andreas. Thanks -- Aumard Jimmy Développeur KINAXIA c/o CICA / PacaEst 2229 Route des Crêtes F-06560 Sophia Antipolis Tél.: +33 (0)4 8973 0242 Mob.: +33 (0)6 6017 2827 Fax : +33 (0)4 8307 6583 http://www.kinaxia.fr ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users
Re: [OpenLayers-Users] OL and browser cache
On Fri, May 14, 2010 at 9:22 AM, Andreas Hocevar ahoce...@opengeo.org wrote: [...] (which can be in your application, but also OpenLayers is known to have some). Even in FireFox? -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : eric.lemo...@camptocamp.com http://www.camptocamp.com ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users
Re: [OpenLayers-Users] OL and browser cache
On May 14, 2010, at 11:01 , Eric Lemoine wrote: On Fri, May 14, 2010 at 9:22 AM, Andreas Hocevar ahoce...@opengeo.org wrote: [...] (which can be in your application, but also OpenLayers is known to have some). Even in FireFox? Mh. Good question. Well, maybe not. But I don't think anybody has ever investigated potential leaks in Firefox. According to http://dbaron.org/mozilla/leak-monitor/, no web application should be able to cause memory leaks in a browser. If it does, then it's a bug in the browser. -Andreas. ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users
Re: [OpenLayers-Users] OL and browser cache
On Friday, May 14, 2010, Andreas Hocevar ahoce...@opengeo.org wrote: On May 14, 2010, at 11:01 , Eric Lemoine wrote: On Fri, May 14, 2010 at 9:22 AM, Andreas Hocevar ahoce...@opengeo.org wrote: [...] (which can be in your application, but also OpenLayers is known to have some). Even in FireFox? Mh. Good question. Well, maybe not. But I don't think anybody has ever investigated potential leaks in Firefox. According to http://dbaron.org/mozilla/leak-monitor/, no web application should be able to cause memory leaks in a browser. If it does, then it's a bug in the browser. Yeah. FWIW, and in case we want to support IE 8, I have a patch implementing a garbage bin element, see http://trac.openlayers.org/attachment/ticket/2170/patch-2170-A0.diff. Cheers, -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : eric.lemo...@camptocamp.com http://www.camptocamp.com ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users