Page 1 of 1
Sloooow loading
Posted: Thu Apr 22, 2010 2:56 pm
by barttech
It is suddenly taking about 30 seconds for my app to upload. "Launching" goes pretty quickly to 65%, then stays there (its little progress bar runs back and forth as usual). The "Percent Complete" bar keeps extending, then going back to nothing, sitting there for a while, extending a bit farther, sort of like it is ramming it's way though a wall. It always finally loads. I thought it was the size of the app, I had some Flex stuff in it, but I took that out. The app file is still 1.6M, does that just take a while? Can the MOD5234 be so busy running the program that it slows down the upload?
Sam
Re: Sloooow loading
Posted: Thu Apr 22, 2010 4:28 pm
by rnixon
I had this problem once, turned out my pc was doing something strange with tcp. Try rebooting and see if it speeds up.
Re: Sloooow loading
Posted: Thu Apr 22, 2010 4:42 pm
by Chris Ruff
You can back your code back to the version where it did not take so long, diff the old code and the new code and you will see the task change you made that is pounding the processor when you are trying to auto update.
I have a number of projects that are intensive enough that the auto update is and will always be slow. If you can make your tasks either block with select(), semaphores, etc. or use OSTimeDly(2) in looping tasks you won't see so much of the slooooooow
Chris
Re: Sloooow loading
Posted: Thu Apr 22, 2010 5:40 pm
by barttech
I tried cutting out the tasks one at a time, and then loading twice each time, since the running program was the suspect. Didn't make any difference, but thanks Chris, that will be something to look out for in the future. It seems RNixon's advice was on target, it is a bother to reboot this thing but now it loads snappily.
Thanks!