Tribune

Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Flix i.
Memory leak in "Add application" (IE only) ?
24 luglio 2008 2.23
Risposta

Flix i.

Punteggio: New Member

Messaggi: 1

Data di Iscrizione: 24 luglio 2008

Messaggi recenti

Hi there,

could it be that there is a memory leak in the "Add application" function respectively in the JS-Sources (Liferay.Popup) when using the Inter Explorer? It seems so. You can see the effect when you do the following steps:

- Open sIEve or the windows task manager and take a lock at the used memory for the iexplore.exe process
- Then open the portal in the IE and click on "add application" a few times and you will see that the memory usage of the iexplore.exe will rise

It seems to be a general problem in Liferay because when I use the Liferay.Popup functionality to open my own portlets I have the same effect. Has anybody similar problems and/or an idea how to fix this problem?

System: Windows XP
Browser: IExplorer 7.0.5730.13
Liferay: 4.4.2 and 5.1.0 (both as bundle with tomcat 6)

Any ideas?

Best regards

Lars
Andreas Schank
RE: Memory leak in "Add application" (IE only) ?
29 luglio 2008 9.39
Risposta

Andreas Schank

Punteggio: New Member

Messaggi: 1

Data di Iscrizione: 29 luglio 2008

Messaggi recenti

Hi,

I'm experiencing similar problems with popups in the IE.

Especially modal popups seem to consume lots of memory.

The following javascript statement creating a minimalistic popup with an empty iframe leaks about 5.5 MB of memory in my environment upon each consecutive execution of which nothing is released when closing the popup or refreshing the page:

Liferay.Popup.iframe('about:blank',{width:800,modal:true,title:'test'});

If I change the modal flag to "false" the memory consumption is dramatically decreased, but still leaking can be observed.

I'm using Windows XP, IE 7.0.5730.13, Liferay Enterprise Portal 4.4.2 (Spurgeon / Build 4402 / February 22, 2008)

Any help is appreciated.

Thanks in advance,
Andreas
JR Houn
RE: Memory leak in "Add application" (IE only) ?
29 luglio 2008 10.35
Risposta

JR Houn

LIFERAY STAFF

Punteggio: Expert

Messaggi: 488

Data di Iscrizione: 19 novembre 2007

Messaggi recenti

Cross referencing this thread with another thread about IE: http://www.liferay.com/web/guest/community/forums/-/message_boards/message/1067633))
-jr
John Martin
RE: Memory leak in "Add application" (IE only) ?
29 luglio 2008 12.02
Risposta

John Martin

Punteggio: Junior Member

Messaggi: 29

Data di Iscrizione: 23 giugno 2008

Messaggi recenti

There is also a reference to http://www.liferay.com/web/guest/community/forums/-/message_boards/message/694141.

As a note, we have been working with Liferay on this issue and I have done a fair amount of testing on this matter. The problem seems to be more of an issue typically with IE 6.x and Firefox 2.x. There are some known issues with memory leaking in both those browser versions. In addition to that, Liferay 5.1 also is using a newer version of JQuery which appears to have also eliminated some leaky code. I have not validated the differences of from 5.0.1 to 5.1 as of yet.

HTH,

John