Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » JDK installed to ram drive causing build errors(Ram drive for JDK)
JDK installed to ram drive causing build errors [message #1768127] Thu, 13 July 2017 15:18 Go to next message
Eclipse UserFriend
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 15:59] by Moderator

Re: JDK installed to ram drive causing build errors [message #1768253 is a reply to message #1768127] Sat, 15 July 2017 22:04 Go to previous message
Eclipse UserFriend
You haven't said what "intermittently fail" means. Are you running Ant in-place -- in the same source tree as what you're developing in? Are your Ant builds putting the .class files into the same location as Eclipse?
Previous Topic:Branding not upgraded
Next Topic:Problems when DS are referencing org.eclipse.core.resources
Goto Forum:
  


Current Time: Wed Jul 23 22:34:22 EDT 2025

Powered by FUDForum. Page generated in 0.16150 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top