Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Screenshot command line --dp 6 stops working after 10 screenshots

more options

Hi, I was trying the command line function(?) "screenshot" with the "--dpr" argument ("--dpr 6"), but what I realized is that if I take 10 screenshots, the next ones must have a smaller dpr value (e.g., "--dpr 5"), and this continues after taking more screenshots with the smaller value (the screenshot function will only work now with "--dpr 4" or less). Why is this happening? What am I doing wrong? Thanks!

Hi, I was trying the command line function(?) "screenshot" with the "--dpr" argument ("--dpr 6"), but what I realized is that if I take 10 screenshots, the next ones must have a smaller dpr value (e.g., "--dpr 5"), and this continues after taking more screenshots with the smaller value (the screenshot function will only work now with "--dpr 4" or less). Why is this happening? What am I doing wrong? Thanks!

모든 댓글 (3)

more options

I couldn't find a way to edit my question, so sorry for double posting. But for example: if I go here http://www.democracynow.org/2016/4/7/headlines/iceland_names_new_prime_minister_in_wake_of_panama_papers and hit shift + F2 and type in "screenshot --fullpage --dpr 6" it won't even run.

I have 12 Gb RAM, I'm a Win 7 64 bit user (Firefox 32 bit), Intel Core i7

more options

글쓴이 cor-el 수정일시

more options

Thanks cor-el! To tell the truth, I couldn't make much of the code, but I think the problem lies with the function createScreenshotData. Something is not flushing, it seems that the more screenshots I make something builds up and in the end the function can't work anymore. As if a buffer had it's memory treshold exceeded.

The importance of the dpr value is only the size of the file, it gets bigger with a bigger value. After a certain amount of data is captured the screenshot function stops working. For example, if I take 10 screenshots with --dpr 6, or (say) 22 with --dpr 5, or a mix (8 screens with --dpr 6 and 12 with --dpr 5) I can't take any more screenshots (or maybe some with a smaller dpr value, like 1 or 2). I need to restart Firefox in order for it to work again