In-File File System for WIndows

I have a command line executable that I need to run from Java on Windows XP. It uses files as input and output. But I want to avoid the overhead of the IO file, so I thought about the RAM file system in memory.

NetBSD has mount_mfs.

Could you recommend the most convenient way to do this?

+5
source share
2 answers

You should also consider whether you really need it (premature optimization, yadda, yadda). In all modern operating systems, file system I / Os are cached anyway, so commonly used files are essentially as fast as a RAM disk.

A related question (with many good answers): RAM for compilation - is there such a thing?

+7
source

Commons VFS provides convenient interfaces for virtual file systems, including the in-memory file system.

+3
source

All Articles