Our application, which is in late stages of development, is causing mozilla Firefox to crash after running several hours.
Looking at the server side with Java Visual VM we see no unusal simptoms.
I wonder if someone can suggest a course of action to find out what is happening.
The report is shown below:
It looks like something is leaking memory on the client side, but hard to say if it is the Vaadin widgetset JS or a browser bug somehow triggered by it.
See what about:memory says and whether the increase in memory usage depends on user actions or not. In the latter case, is server push or polling in use?.
You could check e.g.
the links on this page .
The Firefox version is mentioned in the dump above but which Vaadin version are you using? Are you using Vaadin add-ons that might cause problems? How about which browser add-ons are installed/in use?
Using Vaadin 7.1.7.
Some of my tests were done with all Firefox add-ons disabled, with no improvement.
I have several Vaadin add-ons but the part of code causing this (see below) is quite simple.
After running several scenarios I more or less know which part of my code is causing this: a graphical representation of a device that contains many divs, images, etc., and which has a timer-basaed refresher which redisplays the images every 2 minutes. To trigger a faster memory consumption I make it run even faster.
Tested in several other browsers, it has no problems except on firefox.
The about:memory tool shows a large (and growing) size on this area:
It appears I can also reproduce the same on IE10! Of course I will also test other browsers.
Ideally Iād like to find a minimal application that can cause a similar problem.
Removing ContextMenu seems to fully stop the memory growth in Google Chrome and IE (but only slowdown the growth on FF).
This is really great news for us, although I need to yet create a more isolated scenario to fully be sure.