[sleuthkit-users] TSK Java Binding very slow
Brought to you by:
carrier
|
From: <ma...@mh...> - 2014-10-30 15:32:09
|
Hi,
I write an application which uses the sleuthktit Java-Binding. In
gernal the binding works fine for me, but during my tests I found a
strange issue. If I try to process an images which has a size of 150
GB my own implementation needs about 2 1/2 hours to fill the database.
If I use Autopsy, Autopsy needs only about 30 minutes to process to
finish the process. I allready checked the file AddImageTask.java in
the Autopsy github reop. But I can't find any significant difference
to my own code. Is there a special trick to improve the performance?
I add a Image in the following way:
SleuthkitCase currentCase = SleuthkitCase.newCase(caseDB);
currentCase.acquireExclusiveLock();
AddImageProcess proc =
this.currentCase.makeAddImageProcess(this.timezone, false, true);
String[] paths = {imagePath};
proc.run(paths);
proc.commit();
currentCase.releaseExclusiveLock();
Markus
|