|JDK installed to ram drive causing build errors [message #1768127]
||Thu, 13 July 2017 19:18
| Dominic Cerisano
Registered: October 2016
Eclipse and Ant run 20-30% faster when running the JDK from a ram drive. Ubuntu 16.0.4 now provides a ram drive in /dev/shm.|
Noticing that Ant builds now intermittently fail. This looks like a race condition between Ant and Eclipse's auto-build feature. Ant builds perform a clean operation at start, which is concurrently invoking the Eclipse auto-build.
- If auto-build is off during Ant build, all is well.
- If not running JDK from the ram drive, all is well, even with auto-build turned on.
Is running the JDK from a ram drive recommended? The faster processing seems to be causing the race condition. I understand this in an edge-case, and assume there are currently no unit tests for running Eclipse's JDK from a ram drive.
[Updated on: Thu, 13 July 2017 19:59]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01644 seconds