| || |
ForexConnect iOS 1.1.3 Login<-->Logout Memory Increase
I would be appreciative if I could get some advices regarding "Logout".
With the tmSample, when I executed "login" and "logout" several times, "Instruments" shows that the "Live Bytes" and "Overall Bytes" values increase. (this will be run if you type 'command + I' in the Xcode.)
1 time login and logout: between 6M and 7M.
2 times logins and logouts: between 11M and 12M.
3 times logins and logouts: between 16M and 17M.
and so on...
With the actual iPhone device, the app would hung up with 10 times login-and-logout.
As I looked into the source code, when it logs out it just executes the TableController's logout method. Is there any needed implementation for this to release unneeded objects?
Would you please kindly advise me how to logout cleanly?
I would be so much appreciative for your any reply soon.
Thank you for reporting the issue. The developers confirmed that this is an issue in API.
We will provide the new build ASAP. I will let you know once it will be ready.
Just wanted to send you a PM with a link on a new version, but cannot.
Please find the new version here:
I have downloaded the new version from the link below and tried running the tmSample app using "Instruments".
Unfortunately it still looks like the app doesn't release unneeded memories/objects. Still it keeps increasing the memory size repeating "login and logout" several times. As I reported in the earlier treads, the size of memory increases like 5M, 11M and 17M and so on...
Would you please kindly check it again on your end as well?
Best of all,
My mail server does't allow receiving mails of which content size exceeds 12M. Sorry.
Last edited by k_tsuno; 05-10-2012 at 12:33 PM.
I have passed the issue to developers. It looks like the issue was fixed incompletely. We will provide the new build on Monday. Sorry for the inconvenience.
Last edited by Natalya; 05-14-2012 at 12:38 PM.
We have uploaded the new version. You can download it here: http://fxcodebase.com/bin/forexconne...2.0-iOS.tar.gz
I have confirmed the new build using the Instruments and that it doesn't keep any unneeded objects any longer. As I make it logout, the memory decreases as expected.
Thank you, Natalya and the developers there.
Best of all,
Disclaimer: Trading foreign exchange on margin carries a high level of risk, and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with foreign exchange trading, and seek advice from an independent financial advisor if you have any doubts. Any opinions, news, research, analyses, prices, or other information contained on this website is provided as general market commentary and does not constitute investment advice. Forex Capital Markets LLC. will not accept liability for any loss or damage, including without limitation to, any loss of profit, which may arise directly or indirectly from use of or reliance on such information.