well i have a simple application with some modules.. but when
testing the app with the profiler.. every time i load a module.. it
creates a new intance of the
_modulename_mx_core_flexmodulefactory.. but after i unload the
module, the instance of the flexmodulefactory remains.. and if i
unload/load again the same modules some times, the instance of the
flexmodulefactory only increases and ever goes down while the
instance of the module itself is clearing correctly..
so after a user is some time within my app there is like 5+
flexmodulefactory for each module but each one has several
instances when the user has for eg. loaded only 1 module..
i have no ideia why this is happening.. i tried both the
ModuleLoader and the ModuleManager, both with new ApplicationDomain
and not the current one.. so im really out of ideias right now...
since if the user remains on the website for like 30m he will have
a lot of those flexmodulefactory instances loaded with causes a
huge memory leak....
OMG.. my application was configured for "req flash 10.0.0" at
the compiler settings.. after i put 9.0.0 as required flash app..
this didnt happened anymore and the flexmodulefactory was unloading
correctly... WTH ?
does it make any diff the req flash version ? (since i have
fp 10 installed already)