Issue 238256 in chromium: Extension Activity file is too large, nearly 5.93GB!!

199 views
Skip to first unread message

chro...@googlecode.com

unread,
May 6, 2013, 12:12:58 PM5/6/13
to chromi...@chromium.org
Status: Unconfirmed
Owner: ----
Labels: Pri-2 Via-Wizard Type-Bug OS-Windows

New issue 238256 by QQ510...@gmail.com: Extension Activity file is too
large, nearly 5.93GB!!
http://code.google.com/p/chromium/issues/detail?id=238256

UserAgent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/27.0.1453.73 Safari/537.36

Steps to reproduce the problem:
Open the file Extension Activity under directory
"C:\Users\darkblue\AppData\Local\Google\Chrome\User Data\Default\"

What is the expected behavior?
Reasonable disk usage

What went wrong?
It is growing too big. Now it is 5.93GB or so in my disk.

Did this work before? N/A

Chrome version: 27.0.1453.73 Channel: beta
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)

user-agent Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/27.0.1453.73 Safari/537.36
command
"C:\Users\darkblue\AppData\Local\Google\Chrome\Application\chrome.exe"
--flag-switches-begin --enable-accelerated-filters --action-box=1
--allow-nacl-socket-api=* --apps-new-install-bubble
--conflicting-modules-check --debug-packed-apps --disable-encrypted-media
--disable-gpu-vsync --no-pings --disable-ntp-other-sessions-menu
--disable-restore-session-state --disable-software-rasterizer
--disable-webgl --enable-adview --enable-adview-src-attribute
--apps-devtool --enable-async-dns --enable-autologin
--enable-fixed-position-compositing --enable-css-shaders
--enable-desktop-guest-mode --enable-devtools-experiments
--enable-download-resumption --enable-experimental-form-filling
--enable-experimental-webkit-features --enable-extension-activity-ui
--disable-instant-extended-api --js-flags=--harmony --enable-managed-users
--enable-nacl --enable-nacl-debug --enable-nacl-exception-handling
--enable-new-autofill-ui --enable-new-dialog-style --enable-opus-playback
--enable-panels --enable-password-generation --enable-pnacl
--enable-rich-notifications --enable-smooth-scrolling --enable-spdy31
--enable-suggestions-ntp --enable-sync-favicons
--enable-tab-browser-dragging --enable-tab-capture=1
--enable-usermedia-screen-capturing --enable-vp9-playback
--enable-experimental-extension-apis
--enable-fixed-position-creates-stacking-context
--enable-accelerated-overflow-scroll --enable-full-history-sync
--omnibox-history-quick-provider-new-scoring=1
--omnibox-history-quick-provider-reorder-for-inlining=1
--omnibox-inline-history-quick-provider-allowed=1
--performance-monitor-gathering --all-show-present-with-gdi --print-raster
--save-page-as-mhtml --script-badges --script-bubble=1
--show-autofill-type-predictions --silent-debugger-extension-api
--enable-spelling-auto-correct --sync-keystore-encryption
--enable-tab-groups-context-menu --enable-threaded-compositing
--track-active-visit-time --use-client-login-signin-flow
--enable-views-textfield --flag-switches-end


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

chro...@googlecode.com

unread,
May 6, 2013, 1:23:17 PM5/6/13
to chromi...@chromium.org
Updates:
Labels: Cr-Platform-Extensions

Comment #1 on issue 238256 by rsl...@chromium.org: Extension Activity file
(No comment was entered for this change.)

chro...@googlecode.com

unread,
May 21, 2013, 1:24:05 PM5/21/13
to chromi...@chromium.org

Comment #7 on issue 238256 by bugdro...@chromium.org: Extension Activity
file is too large, nearly 5.93GB!!
http://code.google.com/p/chromium/issues/detail?id=238256#c7

------------------------------------------------------------------------
r201316 | fe...@chromium.org | 2013-05-21T16:41:32.005428Z

Changed paths:
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/blocked_actions.h?r1=201316&r2=201315&pathrev=201316
A
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/api_name_constants.h?r1=201316&r2=201315&pathrev=201316
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/api_actions.cc?r1=201316&r2=201315&pathrev=201316
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/api_actions.h?r1=201316&r2=201315&pathrev=201316
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/activity_actions.cc?r1=201316&r2=201315&pathrev=201316
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/activity_actions.h?r1=201316&r2=201315&pathrev=201316
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/activity_database_unittest.cc?r1=201316&r2=201315&pathrev=201316
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/dom_actions.cc?r1=201316&r2=201315&pathrev=201316
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/dom_actions.h?r1=201316&r2=201315&pathrev=201316
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/blocked_actions.cc?r1=201316&r2=201315&pathrev=201316
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/chrome_browser_extensions.gypi?r1=201316&r2=201315&pathrev=201316

Replaced enum strings with ints in Activity Log database

Several of the Activity Log actions have fields that are enums. Previously
we were saving them as strings. To save a little database space they are
now going to be saved as ints.

R=mpcom...@chromium.org
BUG=238256

Review URL: https://chromiumcodereview.appspot.com/14774012
------------------------------------------------------------------------

chro...@googlecode.com

unread,
Jun 10, 2013, 7:45:18 PM6/10/13
to chromi...@chromium.org

Comment #8 on issue 238256 by bugdro...@chromium.org: Extension Activity
file is too large, nearly 5.93GB!!
http://code.google.com/p/chromium/issues/detail?id=238256#c8

------------------------------------------------------------------------
r205339 | ray...@chromium.org | 2013-06-10T23:13:27.693206Z

Changed paths:
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/activity_log.cc?r1=205339&r2=205338&pathrev=205339
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/api/activity_log_private/activity_log_private_apitest.cc?r1=205339&r2=205338&pathrev=205339

Some of the API tests generate so many loggable events that the Activity
Log needs a really long time to flush, causing test to time out.

http://build.chromium.org/p/chromium.win/builders/Win%20Aura%20Tests%20%283%29/builds/3502/steps/browser_tests/logs/HostSubsets

- Added code to reset command line flags
- Commented out some code in activity_log.cc because
extension_service->IsExtensionEnabled is always returning true for an
unknown reason

BUG=238256
R=kal...@chromium.org
NOTRY=true

Review URL: https://codereview.chromium.org/16759002

chro...@googlecode.com

unread,
Jun 17, 2013, 4:56:32 PM6/17/13
to chromi...@chromium.org

Comment #11 on issue 238256 by bugdro...@chromium.org: Extension Activity
file is too large, nearly 5.93GB!!
http://code.google.com/p/chromium/issues/detail?id=238256#c11

------------------------------------------------------------------------
r206785 | dba...@chromium.org | 2013-06-17T20:12:31.646388Z

Changed paths:
A
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc?r1=206785&r2=206784&pathrev=206785
A
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/fullstream_ui_policy.cc?r1=206785&r2=206784&pathrev=206785
A
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/activity_log_policy.cc?r1=206785&r2=206784&pathrev=206785
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/activity_log_unittest.cc?r1=206785&r2=206784&pathrev=206785
A
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/fullstream_ui_policy.h?r1=206785&r2=206784&pathrev=206785
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/activity_log.cc?r1=206785&r2=206784&pathrev=206785
A
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/activity_log_policy.h?r1=206785&r2=206784&pathrev=206785
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/activity_log.h?r1=206785&r2=206784&pathrev=206785
A
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/stream_noargs_ui_policy_unittest.cc?r1=206785&r2=206784&pathrev=206785
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/activity_log_browsertest.cc?r1=206785&r2=206784&pathrev=206785
A
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/stream_noargs_ui_policy.cc?r1=206785&r2=206784&pathrev=206785
A
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/activity_log/stream_noargs_ui_policy.h?r1=206785&r2=206784&pathrev=206785
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/chrome_tests_unit.gypi?r1=206785&r2=206784&pathrev=206785
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/chrome_browser_extensions.gypi?r1=206785&r2=206784&pathrev=206785

Activity is now logged through policies. Policies are a flexible mechanism
for summarization of the log data. Each Policy object encapsulates storage
(for instance, could be an SQLite database or just append logs),
summarization (for instance, frequency counting of various API calls), and
possibly compression.

BUG=238256

Review URL: https://chromiumcodereview.appspot.com/15573003
------------------------------------------------------------------------

chro...@googlecode.com

unread,
Jun 24, 2013, 1:49:11 AM6/24/13
to chromi...@chromium.org
Updates:
Status: Started
Owner: ---
Cc: dba...@chromium.org karenl...@chromium.org
Labels: -OS-Windows OS-All

Comment #12 on issue 238256 by f...@chromium.org: Extension Activity file
is too large, nearly 5.93GB!!
http://code.google.com/p/chromium/issues/detail?id=238256

(No comment was entered for this change.)

chro...@googlecode.com

unread,
Jun 28, 2013, 10:32:53 PM6/28/13
to chromi...@chromium.org
Updates:
Blockedon: chromium:255730

Comment #14 on issue 238256 by f...@chromium.org: Extension Activity file
(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages