Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Slows after about 1,000 records?
I am creating an XLS file from a CSV file using COBOL Net Express, adding
one record at a time. I use various INVOKE statements. After about 1,000 records the speed drops to about 1/4 of the prior rate per minute. I doubt that the speed of reading the input file changes. Is this because of an Excel overflow buffer issue? How can I fix this? TIA, Paul |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Slows after about 1,000 records?
Hi Paul,
Perhaps. More likely a windows problem. Your code could be hogging the processor. In VBA we would put a DOEVENTS after X reads to allow windows to catch up on other business. Don't know if Cobol has an similar statement. John "Paul H" wrote in message ... I am creating an XLS file from a CSV file using COBOL Net Express, adding one record at a time. I use various INVOKE statements. After about 1,000 records the speed drops to about 1/4 of the prior rate per minute. I doubt that the speed of reading the input file changes. Is this because of an Excel overflow buffer issue? How can I fix this? TIA, Paul |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Slows after about 1,000 records?
Thanks John,
That sounds reasonable - my program does a lot of computing. But won't that solution just let the program run as slowly - just breaking up who is doing the processing when? And why would it wait until 1,000 records before the effect starts? "jaf" wrote in message ... Hi Paul, Perhaps. More likely a windows problem. Your code could be hogging the processor. In VBA we would put a DOEVENTS after X reads to allow windows to catch up on other business. Don't know if Cobol has an similar statement. John "Paul H" wrote in message ... I am creating an XLS file from a CSV file using COBOL Net Express, adding one record at a time. I use various INVOKE statements. After about 1,000 records the speed drops to about 1/4 of the prior rate per minute. I doubt that the speed of reading the input file changes. Is this because of an Excel overflow buffer issue? How can I fix this? TIA, Paul |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Slows after about 1,000 records?
Hi Paul,
If you were to write a tight endless loop, Windows pending tasks & events pile up in a queue. I've seen app's that can stop the updating of the system clock causing the clock to "lose time". Allowing Windows to clear it's queue frees up resources. John "Paul H" wrote in message ... Thanks John, That sounds reasonable - my program does a lot of computing. But won't that solution just let the program run as slowly - just breaking up who is doing the processing when? And why would it wait until 1,000 records before the effect starts? "jaf" wrote in message ... Hi Paul, Perhaps. More likely a windows problem. Your code could be hogging the processor. In VBA we would put a DOEVENTS after X reads to allow windows to catch up on other business. Don't know if Cobol has an similar statement. John "Paul H" wrote in message ... I am creating an XLS file from a CSV file using COBOL Net Express, adding one record at a time. I use various INVOKE statements. After about 1,000 records the speed drops to about 1/4 of the prior rate per minute. I doubt that the speed of reading the input file changes. Is this because of an Excel overflow buffer issue? How can I fix this? TIA, Paul |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Vlookup slows system | Excel Worksheet Functions | |||
Filtering slows down a macro | Excel Worksheet Functions | |||
Excel worksheet slows computer | Excel Worksheet Functions | |||
Excel slows down for no(?) reason... | Excel Discussion (Misc queries) | |||
ifsum slows down calculations | Excel Worksheet Functions |