Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 19:18 Go to next message
Dominic Cerisano is currently offline Dominic CerisanoFriend
Messages: 10
Registered: October 2016
Junior Member
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

Re: JDK installed to ram drive causing build errors [message #1768253 is a reply to message #1768127] Sun, 16 July 2017 02:04 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 788
Registered: January 2012
Senior Member

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?

Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Previous Topic:Branding not upgraded
Next Topic:Problems when DS are referencing org.eclipse.core.resources
Goto Forum:
  


Current Time: Mon Nov 19 20:13:13 GMT 2018

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

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

Back to the top