DEV Community


Discussion on: Execute a child process that is not on the filesystem but in memory?

sebvercammen profile image
Sébastien Vercammen • Edited

Create a small ramdisk. Then use it as storage.

You'll need to call a low-level library/executable that creates the ramdisk for you.

Performance benefits should be negligible when compared to running multiple times from an SSD.

A related option is RunPE, commonly used in malware, but the general advice is "don't do it". It has side effects, including being flagged as a potential virus by antivirus software.

Forem Open with the Forem app