Am 31.10.2013, 23:05 Uhr, schrieb Dan Xu <[email protected]>:
In the call of SecretKeyFactory.getInstance(), it will try to access files under temporary directory by calling File.list() method. And this list() method may consume a lot of memory if there are large amount of files inside.
You could also consider using File.newDirectoryStream of NIO.2 Gruss Bernd -- http://bernd.eckenfels.net
