Issue2269

classification
Title: jffi*.tmp files left to %TMP% on Windows
Type: Severity: normal
Components: Versions: Jython 2.7
Milestone:
process
Status: open Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: pekka.klarck, zyasoft
Priority: low Keywords:

Created on 2015-02-17.13:15:02 by pekka.klarck, last changed 2016-01-11.04:23:09 by zyasoft.

Messages
msg9525 (view) Author: Pekka Klärck (pekka.klarck) Date: 2015-02-17.13:15:01
When investigating why my Windows 7 virtual machine disk space was running low, I noticed that %TMP% folder had 1202 copies of jffi*.tmp files. Each file was about 140kB so that's altogether close to 160MB.

It seems jruby had the same problem <https://github.com/jruby/jruby/issues/1237> and it apparently is already fixed in jffi. Updating jffi to a version with the fix thus ought to fix this problem also on Jython.
msg9527 (view) Author: Pekka Klärck (pekka.klarck) Date: 2015-02-17.13:29:28
Two more things:
- Issue #2270 covers similar problem with jansi*.dll files.
- On Linux I don't see any jffi* files (nor jansi* files) added to /tmp.
msg9655 (view) Author: Jim Baker (zyasoft) Date: 2015-03-14.18:37:35
Bug is fixed in upstream, however updating JNR/JFFI jars cause many of the regrtests to fail.

Postponed until 2.7.1 at the earliest
msg10622 (view) Author: Jim Baker (zyasoft) Date: 2016-01-11.04:23:09
We updated JNR/JFFI, but still seeing the temporary DLLs. Will revisit in 2.7.2  (or later).
History
Date User Action Args
2016-01-11 04:23:09zyasoftsetpriority: normal -> low
messages: + msg10622
2015-03-14 18:37:35zyasoftsetpriority: normal
resolution: accepted
messages: + msg9655
nosy: + zyasoft
2015-02-17 13:29:28pekka.klarcksetmessages: + msg9527
2015-02-17 13:15:02pekka.klarckcreate