Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

Is there a workaround to prevent a java applet from crashing firefox in severe memory shortage situations?

  • 1 përgjigje
  • 1 e ka hasur këtë problem
  • 1 parje
  • Përgjigjja më e re nga guigs

more options

In our large banking application, java applets crash firefox in severe memory shortage situations.

We suspect the java plugin NOT to check the malloc result which is null.

As a workaround, we have the idea to test memory availability in advance such that we at least may prevent firefox from crashing by refusing to load the applets.

But how much memory does the java plugin allocate and how many chunks will be needed?

We are going to explore stackdumps to find out but suggestions are much appreciated.

In our large banking application, java applets crash firefox in severe memory shortage situations. We suspect the java plugin NOT to check the malloc result which is null. As a workaround, we have the idea to test memory availability in advance such that we at least may prevent firefox from crashing by refusing to load the applets. But how much memory does the java plugin allocate and how many chunks will be needed? We are going to explore stackdumps to find out but suggestions are much appreciated.

Krejt Përgjigjet (1)

more options

Monitoring usage of memory in firefox is about:memory. Click measure and it will give you an estimate of each page memory consumption.

This tool is helpful too: Profiler