Comment 14 for bug 515003

Revision history for this message
niceday (chowchi) wrote :

@niceday:
I don't think that putting the temp files in memory would solve this issue. Every time a find() is called, the system captures a new screenshot and stores it somewhere. The problem is we don't know when we can release this screenshot, because users may do further find() within it.
You illustrated an example that may not need the original screenshots. However, we shouldn't do .inside().find() within a pattern images, i.e."some.png", because the pattern image may be not exactly the same as the screenshots.

maybe i don't understand you,the files you said up --> do.inside().find()
these files maybe not so many,and you can put them in temp
hope you can find a way to put them in memory

and now I will creat a ram disk for my app,and del *.png /after every main loop