搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 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.

所有回覆 (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