java.lang.OutOfMemoryError: Failed to allocate a 8781536 byte allocation with 4981712 free bytes and 4MB until OOM, max allowed footprint 536870912, growth limit 536870912 at java.util.Arrays.copyOf(Arrays.java:3260) #299
Without a full stack trace I'm not sure how I can help further. However I would generally advise against screenshotting such a large quantity in a single test case.
when I record abount hundreds of screenshots, it will OOM,how should I to avoid it ?