Post Reply 
programming - excessive compile time (Check and Esc)
01-13-2015, 02:44 AM (This post was last modified: 01-13-2015 04:04 AM by bobkrohn.)
Post: #1
programming - excessive compile time (Check and Esc)
Some odd behavior with Check and Esc.
My Project File has many Subroutines and is maybe 1500-2000 lines.
When I do a Check or Esc (to compile and exit) it is taking a very long time.
We're talking about 80 seconds.

However...

Don't know what I did but for a day or so, the compile times went back to "Normal".
We're talking about less than 5 seconds.

Now it's back to the 80 seconds.

Tried the Symb+On and the pin hole resets.
Didn't help.

Another thing I noticed.
About half the time when I do Check it starts checking but the tiny hourglass at top right shows no activity.
However it is checking and if I wait long enough I will get the completion message.
Several times I thought the machine was locked up and did a reboot.

PLEASE HP...forget about the tiny hourglass at top right.
Put a big hourglass at dead center screen. (like everybody else does)
I never even noticed there was an hourglass until the programs got bigger.
Find all posts by this user
Quote this message in a reply
01-13-2015, 03:10 AM (This post was last modified: 01-13-2015 03:33 AM by Han.)
Post: #2
RE: programming - excessive compile time (Check and Esc)
I have some projects with approx 1500 lines of code (and a lot of lines are actually multiple lines of code squished into 1) and have had no issues with either the calculator or the virtual calc. Pressing check gives me an "OK" immediately. And if there is an error, (e.g. I tried to insert a typo) it also shows up immediately. When I press [Shift][Mem] and then select "Info" from the touch menu, I see approx 9.2 MB RAM and 198 MB storage.

Out of curiosity, what is your memory usage? Do you have a lot of data also stored on the calculator?

Edit: I wonder if the number of subroutines is related to your issue in any way. How many subroutines do you have in your project?

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
01-13-2015, 03:40 AM (This post was last modified: 01-13-2015 03:43 AM by bobkrohn.)
Post: #3
RE: programming - excessive compile time (Check and Esc)
Memory: 8.19 MB
Storage: 195.63 MB

The "Really Big" item is a custom Spreadsheet (used by my program) with
10,000 Rows, each with three [font=Arial]Columns of (initially) Zeros.
(not sure how to find its size)
It has been there all during the programming of this "Big" program.

Also, what is a

"C-F-O ON" '9. Reset'

I saw reference to it but Manual only mentions Pinhole Reset.

I wanted to try a Factory Reset but don't see it in Manual.
There was something but it was under the "Exam Mode" dialog screen
Find all posts by this user
Quote this message in a reply
01-13-2015, 05:05 AM (This post was last modified: 01-13-2015 05:08 AM by Tim Wessman.)
Post: #4
RE: programming - excessive compile time (Check and Esc)
I'd be interested in having a copy of your source/big spreadsheet for potential checking of this. If you are willing, sending it to timwessman 2 hp.com in a zip could be helpful. While there is nothing that jumps out as what might be causing an issue, perhaps low memory conditions might be coming in to play somehow.

That being said, we've done some pretty ridiculously large things and it has never been more then a fraction of a second so I am quite curious to see what is going on.

The Prime does not do a full boot normally. When you power off then on, what is actually happening is just a "sleep" where the screen turns off and everything goes into low power. The RAM however remains the same. Depending on what you are doing it is possible the memory gets thrashed and that could potentially cause lots of slowdows you report.

When a full boot happens that is when the large HP logo shows up from the circle graph. If you want to reboot the calculator, press and hold ON, then click SYMB and release it, then release ON. That will restart the system from the beginning. If everything speeds up, then it is possible memory type issues could be happening.

TW

Although I work for the HP calculator group, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
01-13-2015, 06:03 AM
Post: #5
RE: programming - excessive compile time (Check and Esc)
Memory: 8.19 MB
Storage: 195.63 MB

The "Really Big" item is a custom Spreadsheet (used by my program) with
10,000 Rows, each with three Columns of (initially) Zeros.
(not sure how to find its size)
It has been there all during the programming of this "Big" program.

Also, what is a

"C-F-O ON" '9. Reset'

I saw reference to it but Manual only mentions Pinhole Reset.

I wanted to try a Factory Reset but don't see it in Manual
Find all posts by this user
Quote this message in a reply
01-13-2015, 06:42 AM
Post: #6
RE: programming - excessive compile time (Check and Esc)
sent PM re email

for the rest:

I did a Backup and Restore.
SEEMS to have fixed the "problem".
Will be watching my moves to see what I may be doing to cause this.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)