Re: How many instances of RemoteObject should I create?

2017-10-18 Thread Javier Guerrero García
Agree with Jeffry "by the book", but since Flex GC is really picky when choosing which things it considers garbage (don't forget not even one event listener, or bind, or), your current option is at least "safest". -> Your option: you are really really really sure there is just one

Re: How many instances of RemoteObject should I create?

2017-10-17 Thread Jeffry Houser
 I'd probably create one for each request, so that the instance can be garbage collected after the transaction and not be kept around in memory.  However, there are so many factors involved here, it is tough to give specific direction.  There is no reason you can't reuse them. On

How many instances of RemoteObject should I create?

2017-10-17 Thread Jaabax
Hello! I would like to know if I need to create an instance of RemoteObject for each request of if I can create just one and reuse it. I am currently creating a new instance of each and every request my application does. can I reuse RemoteObjects that target the same channel/destination? and