Ocean debugging: less_memory mode; bugfix for file dump and file read; a lot of debug log