Android Studio logcat history/buffer size
AndroidAndroid StudioLogcatAndroid Problem Overview
Does anyone know if there a way to increase the size of the logcat history/buffer in Android Studio? I remember there was a way to do it in Eclipse and was hoping Android Studio had a similar setting.
Android Solutions
Solution 1 - Android
You can also do it per project, via the IDE: Settings->Editor->General->Console: tick "Override console cycle buffer size. Enter your desired size in the text box.
Finally restart Android Studio for the changes to take effect.
Solution 2 - Android
You can increase the value of idea.cycle.buffer.size=1024
in property file android-studio\bin\idea.properties
, buffer size unit: (Kb). I have already try, and it works for me perfect!
Configuration description as following :
#---------------------------------------------------------------------
# This option controls console cyclic buffer: keeps the console output size not higher than the specified buffer size (Kb).
# Older lines are deleted. In order to disable cycle buffer use idea.cycle.buffer.size=disabled
#---------------------------------------------------------------------
idea.cycle.buffer.size=1024
Solution 3 - Android
I'm afraid currently it is not possible to change logcat buffer size. However, I've created feature request in AOSP issue tracker. Here's the link: https://code.google.com/p/android/issues/detail?id=73425
Solution 4 - Android
Note that idea.cycle.buffer.size is documented in http://tools.android.com/tech-docs/configuration with the following :
#----------------------------------------------------------------
# This option controls console cyclic buffer: keeps the console output size not higher than the specified buffer size (Kb).
# Older lines are deleted. In order to disable cycle buffer use idea.cycle.buffer.size=disabled
#----------------------------------------------------------------
idea.cycle.buffer.size=1024
Solution 5 - Android
Alternatively mainly when you have big size of data and you wanna temporarily review it, use filter (package Logcat priority) and store output output to a file.
Solution 6 - Android
It seems to be that with every major update of android studio the buffer size is reset to its insufficient size of 1024. This is at least the 3rd time I increase it