I am using Linux CentOS 7.6 and doing and import -silent -window root command. It "seems" like I get random screen shots. How can that be??
adding the -debug all
/usr/bin/import -debug all -silent -window root screen.png 2019-07-10T09:33:40-05:00 0:00.000 0.000u 6.7.8 Configure import[26939]: utility.c/ExpandFilenames/939/Configure
Command line: /usr/bin/import {-debug} {all} {-silent} {-window} {root} {screen.png}
2019-07-10T09:33:40-05:00 0:00.100 0.090u 6.7.8 Resource import[26939]: resource.c/AcquireMagickResource/262/Resource
Area: 16.59MB/16.59MB/3.6975GB
2019-07-10T09:33:40-05:00 0:00.100 0.090u 6.7.8 Resource import[26939]: resource.c/AcquireMagickResource/262/Resource
Memory: 16.59MB/15.82MiB/1.7218GiB
2019-07-10T09:33:40-05:00 0:00.100 0.090u 6.7.8 Cache import[26939]: cache.c/OpenPixelCache/4052/Cache
open [0] (heap memory, 1920x1080 15.82MiB)
2019-07-10T09:33:40-05:00 0:00.440 0.350u 6.7.8 Resource import[26939]: resource.c/AcquireMagickResource/262/Resource
Area: 16.59MB/16.59MB/3.6975GB
2019-07-10T09:33:40-05:00 0:00.440 0.350u 6.7.8 Resource import[26939]: resource.c/AcquireMagickResource/262/Resource
Memory: 16.59MB/31.64MiB/1.7218GiB
2019-07-10T09:33:40-05:00 0:00.440 0.350u 6.7.8 Cache import[26939]: cache.c/OpenPixelCache/4052/Cache
open [0] (heap memory, 1920x1080 15.82MiB)
2019-07-10T09:33:41-05:00 0:00.690 0.620u 6.7.8 Cache import[26939]: cache.c/DestroyPixelCache/1448/Cache
destroy [0]
2019-07-10T09:33:41-05:00 0:00.700 0.640u 6.7.8 Resource import[26939]: resource.c/RelinquishMagickResource/811/Resource
Memory: 16.59MB/15.82MiB/1.7218GiB
2019-07-10T09:33:41-05:00 0:00.760 0.660u 6.7.8 Resource import[26939]: resource.c/AcquireMagickResource/262/Resource
Its talking about cache.c - How can I remove any cache before taking the screen shot ? Or how can this be happening ?
THanks,
Jerry