I wrote small application, hex viewer 
(http://www.jsoftware.com/jwiki/AndrewNikitin/HexView)

It maps a file to a noun and then uses grid in virtual mode to display contents 
of this noun. It works pretty good for large files. I tried several hundereds 
of megabytes, but I suspect that for files over 2G I would need 64 bit J.

There is one issue, however. When file is large and I use combination of keys 
Ctrl+down to go to the end of file, grid class fails with "out of memory" 
message.
This only happens with Ctrl+down. I still can go to the end of large file by 
draggng scrollbar all the way down. I do not process Ctrl+down, so, I suspect 
error happens somewhere inside grid class. What is special about Ctrl+down so 
it needs entire data to be loaded?

_________________________________________________________________
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to