Problem with releasing memory

3 views
Skip to first unread message

pyso

unread,
Dec 14, 2010, 10:07:33 AM12/14/10
to BabelFx
Hi,
I am using SmartResourceInjector class for localization in MyDialog
window which is poped up by PopUpManager.
I noticed problem when I was profiling application that that window
wasn't released from memory after calling PopUpManager.removePopUp()
Any idea?

//pyso

ThomasBurleson

unread,
Dec 31, 2010, 8:19:37 AM12/31/10
to BabelFx
Does MyDialog stay locked in memory (verified via the profiler) even
when BabelFx is not used?

If the memory leak only occurs when using BabelFx, perhaps the SRI is
managing a reference to the instance improperly. The LocaleMap stores
class instances references in a Dictionary; perhaps the storage is
with a "strong" reference instead of a "weak" one.

What is the code snippet used for the <SmartResourceInjector ... /> ?

- ThomasB
Reply all
Reply to author
Forward
0 new messages