Problems with selenium closing chrome browser

use selenium, multithreading for Java to crawl, and each thread opens a chrome browser;
each thread quit exits;
crawls for a few days and finds a pile of unclosed threads in the background; memory explodes directly


you can send a special identity on the command line when you start chrome, for example, before the threadId, thread exits, use the wmic command to find the process PID, according to the identity and taskkill-f-pid xxx to kill it.
in addition, there is no need to launch a separate browser for each thread, you can use no trace mode

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3d36f-2c35a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3d36f-2c35a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?