Comments (5)
This makes alogcat almost unusable. Every time I scroll the window gets flooded
with GC_EXTERNAL_ALLOC statements.
Sometimes it'll get stuck and completely flooding the screen after I stop
touching it. It has literally filled the entire scrollable area with those
messages a few times.
Samsung Galaxy Tab
Android v2.3.5
aLogcat v2.3
Original comment by [email protected]
on 19 Dec 2011 at 12:55
from alogcat.
Preface: I am in no way associated with aLogCat development. I just happened
to stumble upon this issue.
This is not a defect in the logger and a filtering option is provided. The
following procedure will remove the garbage collection log entries from your
aLogCat output:
1) While in aLogCat, press the Menu key on your device and tap Filter
2) Tap the check-box next to "Apply as regular expression?" to enable it
3) In the text box input the following exactly: ^(?!.*(dalvikvm|GC)).*$
4) Tap Okay and your screen will be updated sans garbage collection spam.
Original comment by [email protected]
on 20 Dec 2011 at 6:13
from alogcat.
Android is (very) new to me so I don't know if this is the perfect solution
but...
Lets give it a try.
I think the background of the listview is the problem.
As explained in the following resource.
http://developer.android.com/resources/articles/listview-backgrounds.html
Removing this code from log.xml enables cacheColorHint optimization.
android:cacheColorHint="#00000000"
By enabling this optimization the garbage collection is drastically reduced.
The default cacheColorHint is black so we need set the cacheColorHint to the
desired value. I did this by adding this line to the onStart() method of
logActivity.java.
mLogList.setCacheColorHint(mPrefs.getBackgroundColor().getColor());
Greetz
Original comment by [email protected]
on 20 Dec 2011 at 12:00
from alogcat.
thanks for looking into this folks. i will try out that suggestion and publish
a new version if all is good.
Original comment by [email protected]
on 22 Dec 2011 at 1:53
from alogcat.
fixed in 2.4.
Original comment by [email protected]
on 29 Dec 2011 at 3:47
- Changed state: Fixed
from alogcat.
Related Issues (20)
- Enhancment request: search button as shortcut for filter HOT 2
- RFE: Allow another activity to invoke alogcat with settings HOT 3
- Auto-save duplicates log entries HOT 2
- save is oblivious of mount error HOT 1
- logging in sleep/standby mode?? HOT 2
- Create a widget
- Option to prevent screen turning off / going into standby HOT 2
- Not tracking all logs. HOT 6
- Stock music player not playing any media files HOT 1
- user-defined Save location
- Triggering saving to the SDCard with intents opens a security hole HOT 1
- make localizable
- Allow donations without proprietary software HOT 3
- Feature request: Toast shows active filter (patch included) HOT 3
- Feature request: User can enter a comment when saving (maybe optionally via settings) HOT 4
- Will not work on Android 4.1 Jelly Beans HOT 5
- logcat not displayed in jelly bean 4.1.1 HOT 7
- Make it movable to SD card HOT 1
- Saved logs are not visible over MTP until a media scan is performed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alogcat.