I dont know much about this myself, but maybe looking at the memory mapped file lab could help.
--- Original Message --- From: "Strale" <[email protected]> Sent: September 11, 2015 6:43 PM To: [email protected] Subject: [Jprogramming] Removing not 7 bit ASCII code for a huge file Hello I have a very big file 3 G Bytes and I need to make some search on it :( data is 8 bit char data J open it without problem but I have some problem to use "rxmatches" due to the not 7 bit ASCII chars (I presume) I have used a trik to delete data > of 7 bit but is very badd and lead to out of memory I take the inddexes of ASCII chars > of 127 and then I look inside data for those indexes with command i. once found I change with spaces the indexes found with the comand ' ' (indexes) } data data <- is loaded with 3 G Bytes remove =.( 128 + i. 128 ) { a. NB. >7bit ASCII data =. ' ' ((128 > remove i. data) # i. $ data) } data NB. to 7bit ASCII |out of memory Is there a better way to do it ? Thanks Paolo ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
