gwtworking-directorygwt-super-dev-modegwt-compiler

Use system memory as GWT SuperDev mode working directory


I'm using GWT SuperDev mode to compile a huge GWT project which produces a lot of codeserver temporary files. This files are stored in windows %TEMP% path and waste a lot of disk space and I have to clean them manually every day. In addition, accessing data on hard drive is definitely much slower than RAM, so I want to know is there any way to force GWT compiler to keep these files in the RAM instead of HDD when I'm debugging the project and free up memory after stopping SuperDev debug mode? (In other word I want to use system memory instead as working directory of GWT)


Solution

  • The workaround was really simple: using a RAM Disk software such as this one to create a RAM disk drive and setting GWT working directory (using -workDir flag) to that drive.