The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Freezing when using moderately sized data sets

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
mchemistry Posted - 09/30/2015 : 5:37:51 PM
Using OriginPro 2015 SR2 64-bit on Windows 7 system.
Hi folks, first time posting to this forum, not the first time perusing through it, thought someone might be able to explain to me my issue, even better if they can offer a solution.
I'm working with a moderately large data set on the same worksheet. 1300 Columns, 20 Rows. When I try to carry out simple operations (such as deleting 500 columns reducing the number to 800), the application will freeze up until complete. This will take several minutes. The system itself is not taxed for resources at all, <20% CPU use, less than that in RAM and page file size. Nothing that would typically suggest a freeze up would be happening. Could you suggest a reason why the application is freezing up, is there a need to manually allocate resources to it ? Any pointers, heck even anecdotes that resemble possible solutions would be appreciated as this issue is really killing my efficiency.
2   L A T E S T    R E P L I E S    (Newest First)
mchemistry Posted - 10/01/2015 : 3:17:46 PM
OK well I'll give that a go. Thank you very much for taking the time to look into it.
Hideo Fujii Posted - 10/01/2015 : 2:01:16 PM
Hi mchemistry,

I'm sure Origin is doing some "house work" during the process. I have tried some
experiments to delete 500 columns (column 101-600) in a worksheet with 1300 columns:

// 1) Delete column by column
for(ii=101; ii<=600; ii++) {
  range rc=[Book2]1!col(101);
  delete rc;
}
//==> 337 seconds

// 2) Delete a block of columns
range rd = [Book2]Sheet1!101:600;
delete rd;
//==> 172 seconds

// 3) Copy columns (then delete original workbook)
wrcopy iw:=[Book1]sheet1! c1:=1 c2:=100 label:=1 ow:=[Book2]sheet1!;
wrcopy iw:=[Book1]sheet1! c1:=601 c2:=1300 dc1:=101 label:=1 ow:=[Book2]sheet1!;
//window -cd Book1; //delete original workbook
//==>0.375 seconds

// 4) Hide instead of delete columns
colhide irng:=col(101):col(600) operation:=hide;
//==>0.015 seconds

So, I suggest you to copy the necessary columns to a new worksheet (then delete the original),
or if you simply don't want to view the unnecessary columns, you can hide them.

--Hideo Fujii
OriginLab

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000