I ran hdfview like so…
Its a 1.5 GB file with a ton of directories and objects in it.
hdfview OOM’d. That is bad. Worse, it corrupted the file.
When a file is given on the command-line, I think it should default to opening that file read-only. In addition, if data corruption is a potential issue with hdfview, then I would recommend that ‘open’ in the GUI means read-only and a separate open-for-write be provided.
I think the default open for writing is too risk, particularly given this experience.