Sloooow loading

Topics for the Eclipse Environment
Post Reply
barttech
Posts: 135
Joined: Fri Feb 20, 2009 12:59 pm

Sloooow loading

Post 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
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: Sloooow loading

Post 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.
User avatar
Chris Ruff
Posts: 222
Joined: Thu Apr 24, 2008 4:09 pm
Location: topsail island, nc
Contact:

Re: Sloooow loading

Post 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
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand
barttech
Posts: 135
Joined: Fri Feb 20, 2009 12:59 pm

Re: Sloooow loading

Post 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!
Post Reply