chrome-devtools-java-client icon indicating copy to clipboard operation
chrome-devtools-java-client copied to clipboard

Lot of temp file system usage

Open varun85gupta opened this issue 5 years ago • 2 comments

Hi,

I observed that cdt stores some files at the temp directory of user. This usage is huge and is not cleaned up after CDT session. Eventually it eats up a lot of disk space and causing other processes to stop working some times if the disk has less space.

image

Is there any plan to clean up those files ?

varun85gupta avatar Feb 25 '20 12:02 varun85gupta

@varun85gupta , you can do a "launcher.close();" at he end of your method. This would gracefully close the chromium process and delete the "userDataDirPath" -> the ones you see in the temporary directory. For implementation , in ChromeLauncher.java check public void close().

13Aastha13 avatar Mar 01 '20 10:03 13Aastha13

@varun85gupta @13Aastha13 Hello! Same problem. launcher.close() doesn't help. Have you solved the problem?

Danilkashtan avatar Sep 28 '22 09:09 Danilkashtan